DiscordEventWebhookApplicationAuthorizedBody
Documentation / @discordeno/types / DiscordEventWebhookApplicationAuthorizedBody
Interface: DiscordEventWebhookApplicationAuthorizedBody
Defined in: discord/webhookEvents.ts:81
Properties
guild?
optionalguild?:DiscordGuild
Defined in: discord/webhookEvents.ts:89
Server which app was authorized for (when integration type is 0)
integration_type?
optionalintegration_type?:DiscordApplicationIntegrationType
Defined in: discord/webhookEvents.ts:83
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: discord/webhookEvents.ts:87
List of scopes the user authorized
user
user:
DiscordUser
Defined in: discord/webhookEvents.ts:85
User who authorized the app