declare class ApplicationCommandOptionWithChoicesAndAutocompleteMixin<T extends string | number>
Type Parameters
string | number 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