The approximate number of guilds the application is in.
Optional
botIf the bot can be invited by anyone.
Optional
botIf authorizing the bot requires a code grant.
This application's rich presence invite cover image hash, if any.
Optional
customThis application's default custom authorization link, if any.
The description of the application.
Optional
discoverabilityThe state of this application's discoverability.
Optional
discoveryThe flags for this application's discovery eligibility.
The entitlements for this application. This will almost certainly be empty unless you fetch entitlements, or recieve new/updated entitlements.
Optional
explicitThe explicit content filter for this application.
This application's flags.
If this application is a game sold on Discord, the guild to which it has been linked. This will only be present if recieved via /applications/@me
.
If this application is a game sold on Discord, the ID of the guild to which it has been linked.
The icon hash of the application.
Optional
installSettings for this application's in-app authorization link, if enabled.
The install types available for this application.
The configs for the install types available for this application.
This applications interaction endpoint url, if any.
Optional
interactionsThe event types that will be recieved like http interactions, if interactionsVersion is 2.
Optional
interactionsThe interactions version of this application.
If this application is monetized.
Optional
monetizationThe flags for this application's monetization eligibility.
Optional
monetizationThis application's monetization state.
The name of the application.
The owner of this application.
Optional
primarySKUIDIf this application is a game sold on Discord, the id of the Game's SKU.
Optional
privacyA URL to this application's privacy policy.
The redirect URIs for this application.
This application's role connections verification url, if any.
Optional
rpcThe state of this application's RPC application.
A list of rpc origin urls, if rpc is enabled.
Optional
slugIf this application is a game sold on Discord, the slug that links to its store page.
Optional
storeThe state of this application's store application state.
The tags for this application.
The team that owns this application.
Optional
termsA URL to this application's terms of service.
The type of this application.
Optional
verificationThe state of this application's verification.
The bot's hex encoded public key.
Overwrite all existing global application commands.
The commands.
Overwrite all existing application commands in a guild.
The ID of the guild.
The commands.
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 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 the entitlements for this application.
The options for getting the entitlements.
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.
Static
generateIDStatic
getStatic
get
Represents an application.