Optional
applicationThe application this command is for.
The ID of application this command is for.
The default permissions for this command.
The description of this command. Empty string for non CHAT_INPUT
commands.
Optional
descriptionA dictionary of locales to localized descriptions.
Optional
descriptionThe description of this application command in the requested locale.
Optional
dmIf this command can be used in direct messages (global commands only).
The id of the guild this command is in (guild commands only).
The name of this command.
Optional
nameA dictionary of locales to localized names.
Optional
nameThe description of this application command in the requested locale.
Optional
nsfwWhether the command is age restricted.
Optional
optionsThe options on this command. Only valid for CHAT_INPUT
.
The type of this command.
Autoincrementing version identifier updated during substantial record changes.
Edit this command.
The options for editing the command.
Edit this command's permissions (guild commands only). This requires a bearer token with the applications.commands.permissions.update
scope.
The options for editing the permissions.
Get this command's permissions (guild commands only).
Static
generateIDStatic
getStatic
get
Represents an application command.