export abstract class Application extends BaseRepresents an OAuth2 Application.
Constructors
constructor(client: Client<true>data: RawApplicationData)
client: Client<true>
data: RawApplicationData
Constructs a new instance of the Application class
coverURL(options?: ImageURLOptions) : string | null
options?: ImageURLOptions
A link to this application's cover image.
iconURL(options?: ImageURLOptions) : string | null
options?: ImageURLOptions
A link to the application's icon.
toJSON() : unknown
When concatenated with a string, this automatically returns the application's name instead of the Application object.
Examples:
// Logs: Application name: My App
console.log(`Application name: ${application}`);