Skip to main content

DiscordEventWebhookApplicationAuthorizedBody

@discordeno/botDocs


Documentation / @discordeno/bot / DiscordEventWebhookApplicationAuthorizedBody

Interface: DiscordEventWebhookApplicationAuthorizedBody

https://discord.com/developers/docs/events/webhook-events#application-authorized-application-authorized-structure

Properties

guild?

optional guild: DiscordGuild

Server which app was authorized for (when integration type is 0)

Defined in

packages/types/dist/types/discord.d.ts:3592


integration_type?

optional integration_type: DiscordApplicationIntegrationType

Installation context for the authorization. Either guild (0) if installed to a server or user (1) if installed to a user's account

Defined in

packages/types/dist/types/discord.d.ts:3586


scopes

scopes: OAuth2Scope[]

List of scopes the user authorized

Defined in

packages/types/dist/types/discord.d.ts:3590


user

user: DiscordUser

User who authorized the app

Defined in

packages/types/dist/types/discord.d.ts:3588