interface RawApplicationCommandOption {
    autocomplete?: boolean;
    channel_types?: (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?: RawApplicationCommandOptionChoice[];
    description: string;
    description_localizations?: null | Partial<Record<Locale, string>>;
    description_localized?: string;
    max_length?: number;
    max_value?: number;
    min_length?: number;
    min_value?: number;
    name: string;
    name_localizations?: null | Partial<Record<Locale, string>>;
    name_localized?: string;
    options?: RawApplicationCommandOption[];
    required?: boolean;
    type: ApplicationCommandOptionTypes;
}

Properties

autocomplete?: boolean
description: string
description_localizations?: null | Partial<Record<Locale, string>>
description_localized?: string
max_length?: number
max_value?: number
min_length?: number
min_value?: number
name: string
name_localizations?: null | Partial<Record<Locale, string>>
name_localized?: string
required?: boolean