Represents a client application.
Extends
ApplicationAn approximate amount of users that have installed this application.
If this application's bot requires a code grant when using the OAuth2 flow
The hash of the application's cover image
Inherited from ApplicationThe time the application was created at
Inherited from ApplicationThe timestamp the application was created at
Inherited from ApplicationThe application's description
Inherited from ApplicationThe application's icon hash
Inherited from ApplicationThe application's id
Inherited from ApplicationDefault scopes and permissions for each supported installation context. The keys are stringified variants of ApplicationIntegrationType.
The name of the application
Inherited from ApplicationThe URL of the application's privacy policy
Inherited from ApplicationThis application's role connection verification entry point URL
The application's RPC origins, if enabled
Inherited from ApplicationThe URL of the application's terms of service
Inherited from ApplicationThe hex-encoded key for verification in interactions and the GameSDK's GetTicket
Inherited from ApplicationA link to this application's cover image.
Returns
Name | Type | Optional | Description |
---|---|---|---|
options | ImageURLOptions | Yes | Options for the image URL |
Edits this application.
Name | Type | Optional | Description |
---|---|---|---|
options | ClientApplicationEditOptions | No | The options for editing this application |
Updates this application's role connection metadata records
Name | Type | Optional | Description |
---|---|---|---|
records | readonly ApplicationRoleConnectionMetadataEditOptions[] | No | The new role connection metadata records |
Obtains this application from Discord.
Gets this application's role connection metadata records
Gets this application's SKUs
A link to the application's icon.
Returns
Name | Type | Optional | Description |
---|---|---|---|
options | ImageURLOptions | Yes | Options for the image URL |
When concatenated with a string, this automatically returns the application's name instead of the Application object.
Inherited from Application