declare class SlashCommandSubcommandGroupBuilder implements ToAPIApplicationCommandOptions
Represents a folder for subcommands.
readonlyexternalstring description :
The description of this subcommand group.
readonlyexternalstring name :
The name of this subcommand group.
readonlyexternalSlashCommandSubcommandBuilder[] options :
The subcommands within this subcommand group.
readonlyoptionalexternalLocalizationMap description_localizations? :
The description localizations of this command.
Inherited from: SharedNameAndDescription
readonlyoptionalexternalLocalizationMap name_localizations? :
The name localizations of this command.
Inherited from: SharedNameAndDescription
external addSubcommandinput: SlashCommandSubcommandBuilder | ((subcommandGroup: SlashCommandSubcommandBuilder) => SlashCommandSubcommandBuilder)) : this (
Adds a new subcommand to this group.
external toJSONAPIApplicationCommandSubcommandGroupOption () :
Serializes this builder to API-compatible JSON data.
external setDescriptiondescription: string) : this (
Sets the description of this command.
Inherited from: SharedNameAndDescription
external setDescriptionLocalizationlocale: LocaleString) : this (
Sets a description localization for this command.
Inherited from: SharedNameAndDescription
external setDescriptionLocalizationslocalizedDescriptions: LocalizationMap | null) : this (
Sets the description localizations for this command.
Inherited from: SharedNameAndDescription
external setNamename: string) : this (
Sets the name of this command.
Inherited from: SharedNameAndDescription
external setNameLocalizationlocale: LocaleString) : this (
Sets a name localization for this command.
Inherited from: SharedNameAndDescription
external setNameLocalizationslocalizedNames: LocalizationMap | null) : this (
Sets the name localizations for this command.
Inherited from: SharedNameAndDescription