export declare class ApplicationCommandOptionWithChoicesAndAutocompleteMixin<T extends number | string>
This mixin holds choices and autocomplete symbols used for options.
Type Parameters
number | string T extends
readonlyoptionalboolean autocomplete? :
Whether this option utilizes autocomplete.
readonlyoptionalAPIApplicationCommandOptionChoice<T>[] choices? :
The choices of this option.
readonlyApplicationCommandOptionType type :
The type of this option.
addChoiceschoices: APIApplicationCommandOptionChoice<T>[]) : this (
choices: APIApplicationCommandOptionChoice<T>[]
Adds multiple choices to this option.
setAutocompleteautocomplete: boolean) : this (
autocomplete: boolean
Whether this option uses autocomplete.
setChoicesInput extends APIApplicationCommandOptionChoice<T>[]
>(choices: Input) : this <
Input extends APIApplicationCommandOptionChoice<T>[]
choices: Input
Sets multiple choices for this option.