declare class ApplicationCommandOptionWithChoicesMixin<ChoiceType extends number | string>This mixin holds choices and autocomplete symbols used for options.
readonlyoptionalchoices? : APIApplicationCommandOptionChoice<ChoiceType>[]
The choices of this option.
readonlytype : ApplicationCommandOptionType
The type of this option.
addChoices(...choices: RestOrArray<APIApplicationCommandOptionChoice<ChoiceType>>) : this
...choices: RestOrArray<APIApplicationCommandOptionChoice<ChoiceType>>
Adds multiple choices to this option.
setChoices<Input extends APIApplicationCommandOptionChoice<ChoiceType>
>(...choices: RestOrArray<Input>) : this
Input extends APIApplicationCommandOptionChoice<ChoiceType>
...choices: RestOrArray<Input>
Sets multiple choices for this option.