This mixin holds choices and autocomplete symbols used for options.
Name | Constraints | Optional | Default | Description |
---|---|---|---|---|
T | number | string | No | None |
Readonly
The choices of this option.
Readonly
The type of this option.
Adds multiple choices to this option.
Name | Type | Optional | Description |
---|---|---|---|
choices | APIApplicationCommandOptionChoice<T>[] | 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 | Type | Optional | Description |
---|---|---|---|
choices | Input | No | The choices to set |