declare class ApplicationCommandOptionWithChoicesAndAutocompleteMixin<T extends number | string>
Type Parameters
number | string T extends
readonlyoptionalboolean autocomplete? :
readonlyoptionalAPIApplicationCommandOptionChoice<T>[] choices? :
readonlyApplicationCommandOptionType type :
addChoiceschoices: APIApplicationCommandOptionChoice<T>[]) : this (
choices: APIApplicationCommandOptionChoice<T>[]
Adds multiple choices for this option
setAutocompleteautocomplete: boolean) : this (
autocomplete: boolean
Marks the option as autocompletable
setChoicesInput extends APIApplicationCommandOptionChoice<T>[]
>(choices: Input) : this <
Input extends APIApplicationCommandOptionChoice<T>[]
choices: Input