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