This mixin holds choices and autocomplete symbols used for options.
Adds multiple choices to this option.
Name | Type | Optional | Description |
---|---|---|---|
...choices | APIApplicationCommandOptionChoice<ChoiceType>[] | No | The choices to add |
Whether this option uses autocomplete.
Name | Type | Optional | Description |
---|---|---|---|
autocomplete | boolean | No | Whether this option should use autocomplete |
Sets multiple choices for this option.
Name | Constraints | Optional | Default | Description |
---|---|---|---|---|
Input | APIApplicationCommandOptionChoice<ChoiceType>[] | No | None |
Name | Type | Optional | Description |
---|---|---|---|
...choices | Input | No | The choices to set |