ReadonlydescriptionThe description of this subcommand.
Optional Readonlydescription_The description localizations of this command.
ReadonlynameThe name of this subcommand.
Optional Readonlyname_The name localizations of this command.
ReadonlyoptionsThe options within this subcommand.
Adds an attachment option.
A function that returns an option builder or an already built builder
Adds a boolean option.
A function that returns an option builder or an already built builder
Adds a channel option.
A function that returns an option builder or an already built builder
Adds an integer option.
A function that returns an option builder or an already built builder
Adds a mentionable option.
A function that returns an option builder or an already built builder
Adds a number option.
A function that returns an option builder or an already built builder
Adds a role option.
A function that returns an option builder or an already built builder
Adds a string option.
A function that returns an option builder or an already built builder
Adds a user option.
A function that returns an option 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.
A builder that creates API-compatible JSON data for slash command subcommands.
See
https://discord.com/developers/docs/interactions/application-commands#subcommands-and-subcommand-groups