CommandOption
Last updated
Type
Description
Required
string
1-32 lowercase character name matching ^[\w-]{1,32}$
Yes
Type
Description
Required
string
1-100 character description
Yes
Type
Description
Required
string or Number
the type of the value
Yes
Type
Description
Default
Required
boolean
if the parameter is required or optional
false
No
Type
Description
Required
array of CommandChoices
choices for string
and int
types for the user to pick from
No
Type
Description
Required
array of CommandOptions
if the option is a subcommand or subcommand group type, this nested options will be the parameters
No