Class ApplicationAuthorizedEventArgs
- Namespace
- DSharpPlus.EventArgs
- Assembly
- DSharpPlus.dll
Invoked when the current application is added to a server or user account. This is not available via the standard gateway, and requires webhook events to be enabled.
public sealed class ApplicationAuthorizedEventArgs : DiscordEventArgs
- Inheritance
-
objectEventArgsApplicationAuthorizedEventArgs
Properties
- Guild
The guild the application was authorized for. Only applicable if IntegrationType is GuildInstall.
- IntegrationType
The context this authorization occurred in.
- Scopes
The scopes the app was authorized for.
- Timestamp
The timestamp at which this event was fired.
- User
The user who authorized the application. This may be a member object if the application was authorized into a guild.