class ApplicationCommandOptionWithChoicesMixin

export declare class ApplicationCommandOptionWithChoicesMixin<ChoiceType extends number | string>

This mixin holds choices and autocomplete symbols used for options.

Type Parameters

ChoiceType extends number | string

addChoices() : this

Adds multiple choices to this option.

setChoices() : this

Sets multiple choices for this option.