Skip to content

Random

Random variables generate numbers or pick one option from a list. Defaults can be set in the command response and overridden by command input.

{random.int}
{random.int 10}
{random.int 100 200}
{random.choice option1 "option 2" "option 3"}

Wrap options in quotes when they contain spaces.

VariableUseExample output
{random.int [min/max] [max]}Generates a random integer. Defaults to 1 through 100; one number sets the max; two numbers set min and max.113
{random.choice <options...>}Chooses one option from the provided list.option 2

For example, a command using {random.int 100} can be overridden with !random 123 to generate a number from 1 to 123.