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 an emoji for an application.
The ID of the application.
The options for creating the emoji.
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 an existing emoji for an application.
The ID of the application.
The ID of the emoji to be edited.
The options for editing the emoji.
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 an application's info.
The ID of the application.
This method does not cache its result.
This generally cannot be used on any application except the authenticated bot.
Get an activity instance.
The ID of the application.
The ID of the instance.
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 an emoji for an application.
The ID of the application to get the emojis of.
The ID of the emoji to get.
This method does not cache its result.
Get the emojis for an application.
The ID of the application to get the emojis of.
This method does not cache its result.
Get an entitlement for an application.
The ID of the application that the entitlement is for.
The ID of the entitlement.
This method may cache its result. If the entitlement's application id is the client's application id.
Get the entitlements for an application.
The ID of the application to get the entitlements of.
The options for getting the entitlements.
This method may cache its result. If an entitlement's application id is the client's application id.
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.
Get the subscription for an SKU.
The ID of the SKU to get the subscription of.
The ID of the subscription to get.
Get the subscriptions for an SKU.
The ID of the SKU to get the subscriptions of.
The options for getting the subscriptions.
Upload an ephemeral attachment for an application.
The application must have Activities enabled (the ApplicationFlags~EMBEDDED EMBEDDED application flag). Applications without Activities enabled currently return an "Unknown Application" error.
This endpoint requires a user OAuth2 bearer token; client credentials grant tokens are not valid and currently produce a 500 error.
The returned url is only valid for 24 hours.
The ID of the application.
The options for uploading the attachment.
This method does not cache its result.
Various methods for interacting with application commands. Located at Client#rest.applications.