ApplicationCommandOptionWithChoicesAndAutocompleteMixin

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

No summary provided.

NameConstraintsOptionalDefaultDescription
Tstring | numberNoNone
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