declare class SlashCommandSubcommandGroupBuilder implements ToAPIApplicationCommandOptionsRepresents a folder for subcommands.
readonlyexternaldescription : string
The description of this subcommand group.
readonlyexternalname : string
The name of this subcommand group.
readonlyexternaloptions : SlashCommandSubcommandBuilder[]
The subcommands within this subcommand group.
readonlyoptionalexternaldescription_localizations? : LocalizationMap
The description localizations of this command.
Inherited from: SharedNameAndDescription
readonlyoptionalexternalname_localizations? : LocalizationMap
The name localizations of this command.
Inherited from: SharedNameAndDescription
external addSubcommand(input: SlashCommandSubcommandBuilder | ((subcommandGroup: SlashCommandSubcommandBuilder) => SlashCommandSubcommandBuilder)) : this
Adds a new subcommand to this group.
external toJSON() : APIApplicationCommandSubcommandGroupOption
Serializes this builder to API-compatible JSON data.
external setDescription(description: string) : this
Sets the description of this command.
Inherited from: SharedNameAndDescription
external setDescriptionLocalization(locale: LocaleString) : this
Sets a description localization for this command.
Inherited from: SharedNameAndDescription
external setDescriptionLocalizations(localizedDescriptions: LocalizationMap | null) : this
Sets the description localizations for this command.
Inherited from: SharedNameAndDescription
external setName(name: string) : this
Sets the name of this command.
Inherited from: SharedNameAndDescription
external setNameLocalization(locale: LocaleString) : this
Sets a name localization for this command.
Inherited from: SharedNameAndDescription
external setNameLocalizations(localizedNames: LocalizationMap | null) : this
Sets the name localizations for this command.
Inherited from: SharedNameAndDescription