The ID of the application you want to modify.
ApplicationCommandOptions[]
Array of ApplicationCommand objects.
Overwrite guild application commands
The ID of the application.
The ID of the guild you want to overwrite the application commands in.
ApplicationCommandOptions[]
ApplicationCommand[]
Create a global application command
The ID of the application you want to create a command for.
CreateApplicationCommandOptions
ApplicationCommand object.
Create a new application command for a guild
The ID of the application.
The ID of the guild you want to create the command in.
ApplicationCommandOptions
ApplicationCommand
Delete a global application command
The ID of the application.
The ID of the command you want to delete.
Delete a guild application command
The ID of the application.
The ID of the guild you want to delete the application command from.
The ID of the command you want to delete.
Edit permissions for an application command
The ID of the application.
The ID of the guild you want to edit the permissions for.
The ID of the command you want to edit the permissions for.
EditPermissionsOptions
GuildApplicationCommandPermissions[]
Edit a global application command
The ID of the application you want to edit the command of.
The ID of the command you want to edit.
GetGlobalApplicationCommandsOptions
ApplicationCommand object.
Update a guild application command
The ID of the application.
The ID of the guild you want to update the application command in.
The ID of the command you want to update.
ApplicationCommandOptions
ApplicationCommand
Get permissions for an application command
The ID of the application.
The ID of the guild you want to get the permissions for.
The ID of the command you want to get the permissions for.
GuildApplicationCommandPermissions[]
Get a global application command
The ID of the application.
The ID of the command you want to get.
ApplicationCommand object.
Get a list of global application commands
The ID of the application you want to get the commands of.
GetGlobalApplicationCommandsOptions = {}
Array of ApplicationCommand objects.
Get a guild application command
The ID of the application.
The ID of the guild you want to get the application command from.
The ID of the command you want to get.
ApplicationCommand
Get permissions for a guild application command
The ID of the application.
The ID of the guild you want to get the permissions for.
The ID of the command you want to get the permissions for.
GuildApplicationCommandPermissions[]
Get a list of commands for a guild application
The ID of the application.
The ID of the guild you want to get the commands from.
Array of ApplicationCommand objects.
Bot's token
API Version
API Version
Bot's token
Token type
Generated using TypeDoc
Overwrites the global application commands