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 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 ApplicationThis application's role connection verification entry point URL
A 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