Overwrite all existing global application commands.
The ID of the application.
The commands.
This method does not cache its result.
Overwrite all existing application commands in a guild.
The ID of the application.
The ID of the guild.
The commands.
This method does not cache its result.
Create a global application command.
The ID of the application.
The options for the command.
This method does not cache its result.
Create a guild application command.
The ID of the application.
The ID of the guild.
The options for the command.
This method does not cache its result.
Create a test entitlement.
The ID of the application to create the entitlement for.
The options for creating the test entitlement.
Delete a guild application command.
The ID of the application.
The ID of the guild.
The ID of the command to delete.
This method does not cache its result.
Edit the currently authenticated bot's application info.
The options for editing the application.
This method does not cache its result.
Edit a global application command.
The ID of the application.
The ID of the command to edit.
The options for editing the command.
This method does not cache its result.
Edit a guild application command.
The ID of the application.
The ID of the guild.
The ID of the command to edit.
The options for editing the command.
This method does not cache its result.
Edit a guild application command's permissions. This requires a bearer token with the applications.commands.permissions.update
scope.
The ID of the application.
The ID of the guild.
The ID of the command.
The options for editing the permissions.
This method does not cache its result.
Get the currently authenticated bot's application info as a bare ClientApplication.
This method does not cache its result.
Get the currently authenticated bot's application info.
This method does not cache its result.
Get the entitlements for an application.
The ID of the application to get the entitlements of.
The options for getting the entitlements.
Get a global application command.
The ID of the application.
The ID of the command.
Optional
options: GetApplicationCommandOptionsThe options for getting the command.
This method does not cache its result.
Get an application's global commands.
The ID of the application.
Optional
options: GetApplicationCommandOptionsThe options for getting the command.
This method does not cache its result.
Get a global application command.
The ID of the application.
The ID of the guild.
The ID of the command.
Optional
options: GetApplicationCommandOptionsThe options for getting the command.
This method does not cache its result.
Get an application's application commands in a specific guild.
The ID of the application.
The ID of the guild.
Optional
options: GetApplicationCommandOptionsThe options for getting the command.
This method does not cache its result.
Get an application command's permissions in a guild.
The ID of the application.
The ID of the guild.
The ID of the command.
This method does not cache its result.
Get the permissions for all application commands in a guild.
The ID of the application.
The ID of the guild.
This method does not cache its result.
Various methods for interacting with application commands. Located at Client#rest.applications.