interface ExtSub {
    autocomplete?: undefined;
    description: string;
    descriptionLocalizations?: Partial<Record<Locale, null | string>>;
    name: string;
    nameLocalizations?: Partial<Record<Locale, null | string>>;
    options?: SlashNonSub[];
    type: Subcommand;
}

Hierarchy

  • ApplicationCommandSubCommandData
    • ExtSub

Properties

autocomplete?: undefined

Whether the option is an autocomplete option

description: string

The description of the option

descriptionLocalizations?: Partial<Record<Locale, null | string>>

The description localizations for this command

name: string

The name of the option

nameLocalizations?: Partial<Record<Locale, null | string>>

The name localizations for this command

options?: SlashNonSub[]

Additional options if this option is a subcommand (group)

type: Subcommand

The choices of the option for the user to pick from