Options for the ApplicationCommand.
Properties
Parameter
Type
Required
Description
type
ApplicationCommandType
true
The type of this application command.
name
string
This option's name.
description
This option's description.
default
bool
false
The default propperty of this option.
required
If this is true, the option can be left out.
choices
ApplicationCommandChoice[]
The available choices for this option.
options
ApplicationCommandOption[]
The child options.
Last updated 5 years ago