Type alias DiscordCommandOption

DiscordCommandOption: {
    autocomplete?: boolean;
    channel_types?: DiscordChannelTypes[];
    choices?: DiscordCommandOptionChoice[];
    description: string;
    description_localizations?: DiscordLocalesDictionary<string>;
    max_length?: number;
    max_value?: number;
    min_length?: number;
    min_value?: number;
    name: string;
    name_localizations?: DiscordLocalesDictionary<string>;
    options?: DiscordCommandOption[];
    required?: boolean;
    type: DiscordCommandOptionTypes;
}

Type declaration

Generated using TypeDoc