Readonly
descriptionThe description of this subcommand group.
Optional
Readonly
description_The description localizations of this command.
Readonly
nameThe name of this subcommand group.
Optional
Readonly
name_The name localizations of this command.
Readonly
optionsThe subcommands within this subcommand group.
Adds a new subcommand to this group.
A function that returns a subcommand builder or an already built builder
Sets the description of this command.
The description to use
Sets a description localization for this command.
The locale to set
The localized description for the given locale
Sets the name of this command.
The name to use
Sets a name localization for this command.
The locale to set
The localized name for the given locale
Sets the name localizations for this command.
The object of localized names to set
Serializes this builder to API-compatible JSON data.
Represents a folder for subcommands.
See
https://discord.com/developers/docs/interactions/application-commands#subcommands-and-subcommand-groups