The entitlements for this application. This will almost certainly be empty unless you fetch entitlements, or recieve new/updated entitlements.
This application's flags.
See flagsNew. This will likely be made a bigint in the future.
This application's flags.
The subscriptions for this application. This will almost certainly be empty unless you fetch subscriptions, or recieve new/updated subscriptions.
Overwrite all existing global application commands.
The commands.
Overwrite all existing application commands in a guild.
The ID of the guild.
The commands.
Create an emoji for this application.
The options for creating the emoji.
This method does not cache its result.
Create a global application command.
The options for creating the command.
Create a guild application command.
The ID of the guild.
The options for creating the command.
Create a test entitlement.
The options for creating the test entitlement.
Edit this application.
The options for editing the application.
Edit an existing emoji for this 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 command.
The options for editing the command.
Edit a guild application command.
The ID of the guild.
The ID of the command.
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 guild.
The ID of the command.
The options for editing the permissions.
Get an activity instance.
The ID of the instance.
Get an emoji for this application.
The ID of the emoji to get.
Get the emojis for this application.
Get an entitlement for this application.
The ID of the entitlement.
This method may cache its result. If an entitlement's application id is the client's application id.
Get the entitlements for this application.
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 command.
Optional options: GetApplicationCommandOptionsThe options for getting the command.
Get this application's global commands.
Optional options: GetApplicationCommandOptionsThe options for getting the command.
Get a global application command.
The ID of the guild.
The ID of the command.
Optional options: GetApplicationCommandOptionsThe options for getting the command.
Get this application's commands in a specific guild.
The ID of the guild.
Optional options: GetApplicationCommandOptionsThe options for getting the command.
Get a command's permissions in a guild.
The ID of the guild.
The ID of the command.
Get the permissions for all commands in a guild.
The ID of the guild.
Get this application's role connection metadata records.
Get the authenticated user's role connection object for this application. This requires the role_connections.write scope.
Update this application's role connections metadata.
The metadata records.
Update the authenticated user's role connection object for an application. This requires the role_connections.write scope.
The metadata to update.
Upload an ephemeral attachment for this application.
The application must have Activities enabled (the 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 options for uploading the attachment.
This method does not cache its result.
Static generateIDStatic getStatic get
A representation of the authorized client's application (typically received via gateway).