Skip to main content

Interface: CommandOption

Properties

autocomplete?

optional autocomplete: boolean;

choices?

optional choices: ApplicationCommandOptionChoiceData<string | number>[];

description?

optional description: string;

descriptionLocalizations?

optional descriptionLocalizations: Record<string, string>;

max?

optional max: number;

min?

optional min: number;

name

name: string;

nameLocalizations?

optional nameLocalizations: Record<string, string>;

required?

optional required: boolean;

type?

optional type: keyof CommandOptionTypes;