Represents a client application.
Extends
ApplicationIf this application's bot requires a code grant when using the OAuth2 flow
This 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 | ApplicationRoleConnectionMetadataEditOptions[] | No | The new role connection metadata records |
Obtains this application from Discord.
Gets this application's role connection metadata records
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