Represents a client application.
Extends
ApplicationIf 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 ApplicationThe 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 | 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