DiscordCurrentAuthorization
Documentation / @discordeno/bot / DiscordCurrentAuthorization
Interface: DiscordCurrentAuthorization
Defined in: packages/types/dist/types/discord.d.ts:429
Properties
application
application:
DiscordApplication
Defined in: packages/types/dist/types/discord.d.ts:430
expires
expires:
string
Defined in: packages/types/dist/types/discord.d.ts:434
when the access token expires
scopes
scopes:
OAuth2Scope
[]
Defined in: packages/types/dist/types/discord.d.ts:432
the scopes the user has authorized the application for
user?
optional
user:DiscordUser
Defined in: packages/types/dist/types/discord.d.ts:436
the user who has authorized, if the user has authorized with the identify
scope