Interface CombinedApplicationCommandOption

interface CombinedApplicationCommandOption {
    autocomplete?: boolean;
    channelTypes?: (GUILD_TEXT | DM | GUILD_VOICE | GROUP_DM | GUILD_CATEGORY | GUILD_ANNOUNCEMENT | ANNOUNCEMENT_THREAD | PUBLIC_THREAD | PRIVATE_THREAD | GUILD_STAGE_VOICE | GUILD_FORUM | GUILD_MEDIA)[];
    choices?: ApplicationCommandOptionsChoice<ApplicationCommandOptionsTypesWithChoices>[];
    description: string;
    descriptionLocalizations?: null | Partial<Record<Locale, string>>;
    maxLength?: number;
    maxValue?: number;
    minLength?: number;
    minValue?: number;
    name: string;
    nameLocalizations?: null | Partial<Record<Locale, string>>;
    options?: CombinedApplicationCommandOption[];
    required?: boolean;
    type: ApplicationCommandOptionTypes;
}

Properties

autocomplete?: boolean
description: string
descriptionLocalizations?: null | Partial<Record<Locale, string>>
maxLength?: number
maxValue?: number
minLength?: number
minValue?: number
name: string
nameLocalizations?: null | Partial<Record<Locale, string>>
required?: boolean