export abstract class Application extends Base
Represents an OAuth2 Application.
Constructors
client: Client<true>data: RawApplicationData)
constructor(client: Client<true>
data: RawApplicationData
Constructs a new instance of the Application
class
coverURLoptions?: ImageURLOptions) : string | null (
options?: ImageURLOptions
A link to this application's cover image.
iconURLoptions?: ImageURLOptions) : string | null (
options?: ImageURLOptions
A link to the application's icon.
toJSONunknown () :
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}`);