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