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

Hierarchy

  • ApplicationCommandSubGroupData
    • ExtGroup

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: readonly ExtSub[]

Additional options if this option is a subcommand (group)

type: SubcommandGroup

The type of the option