Overwrite all existing global application commands.
The ID of the application.
The commands.
Overwrite all existing application commands in a guild.
The ID of the application.
The ID of the guild.
The commands.
Create an emoji for an application.
The ID of the application.
The options for creating the emoji.
Create a global application command.
The ID of the application.
The options for the command.
Create a guild application command.
The ID of the application.
The ID of the guild.
The options for the command.
Create a test entitlement.
The ID of the application to create the entitlement for.
The options for creating the test entitlement.
Edit the currently authenticated bot's application info.
The options for editing the application.
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.
Edit a global application command.
The ID of the application.
The ID of the command to edit.
The options for editing the command.
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.
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.
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.
Get the currently authenticated bot's application info.
Get an emoji for an application.
The ID of the application to get the emojis of.
The ID of the emoji to get.
Get the emojis for an application.
The ID of the application to get the emojis of.
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.
ClientApplication#entitlements
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.
ClientApplication#entitlements
Get a global application command.
The ID of the application.
The ID of the command.
Optional options: GetApplicationCommandOptionsThe options for getting the command.
Get an application's global commands.
The ID of the application.
Optional options: GetApplicationCommandOptionsThe options for getting the command.
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.
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.
Get an application command's permissions in a guild.
The ID of the application.
The ID of the guild.
The ID of the command.
Get the permissions for all application commands in a guild.
The ID of the application.
The ID of the guild.
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.
Various methods for interacting with application commands. Located at Client#rest.applications.