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