class ApplicationCommandOptionWithChoicesAndAutocompleteMixin

export declare class ApplicationCommandOptionWithChoicesAndAutocompleteMixin<T extends number | string>

Type Parameters

T extends number | string

readonlyoptional
autocomplete? : boolean

readonlyoptional
choices? : APIApplicationCommandOptionChoice<T>[]

addChoices() : this

Adds multiple choices for this option

setAutocomplete(
autocomplete: boolean
) : this

Marks the option as autocompletable

setChoices<>(
choices: Input
) : this