class ApplicationCommandOptionWithChoicesAndAutocompleteMixin

export declare class ApplicationCommandOptionWithChoicesAndAutocompleteMixin<T extends string | number>

Type Parameters

T extends string | number

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