ApplicationCommandOptionWithChoicesAndAutocompleteMixin

export declare class ApplicationCommandOptionWithChoicesAndAutocompleteMixin<T extends number | string>
export declare class ApplicationCommandOptionWithChoicesAndAutocompleteMixin<T extends number | string>

No summary provided.

NameConstraintsOptionalDefaultDescription
Tnumber | stringNoNone
Readonly
autocomplete?:boolean
Readonly
addChoices(choices):this
Adds multiple choices for this option
NameTypeOptionalDescription
choicesAPIApplicationCommandOptionChoice<T>[]NoThe choices to add
setAutocomplete(autocomplete):this
Marks the option as autocompletable
NameTypeOptionalDescription
autocompletebooleanNoIf this option should be autocompletable
setChoices(choices):this
NameConstraintsOptionalDefaultDescription
InputAPIApplicationCommandOptionChoice<T>[]NoNone
NameTypeOptionalDescription
choicesInputNoNone