DiscordEventWebhookApplicationAuthorizedBody
Documentation / @discordeno/bot / DiscordEventWebhookApplicationAuthorizedBody
Interface: DiscordEventWebhookApplicationAuthorizedBody
Defined in: packages/types/dist/types/discord/webhookEvents.d.ts:44
Properties
guild?
optional
guild:DiscordGuild
Defined in: packages/types/dist/types/discord/webhookEvents.d.ts:52
Server which app was authorized for (when integration type is 0)
integration_type?
optional
integration_type:DiscordApplicationIntegrationType
Defined in: packages/types/dist/types/discord/webhookEvents.d.ts:46
Installation context for the authorization. Either guild (0) if installed to a server or user (1) if installed to a user's account
scopes
scopes:
OAuth2Scope
[]
Defined in: packages/types/dist/types/discord/webhookEvents.d.ts:50
List of scopes the user authorized
user
user:
DiscordUser
Defined in: packages/types/dist/types/discord/webhookEvents.d.ts:48
User who authorized the app