Table of Contents

Property AppPermissions

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

AppPermissions

The permissions allowed to the application for the given context.

[JsonProperty("app_permissions", NullValueHandling = NullValueHandling.Ignore)]
public DiscordPermissions AppPermissions { get; }

Property Value

DiscordPermissions

Remarks

For guilds, this will be the bot's permissions. For group DMs, this is ATTACH_FILES, EMBED_LINKS, and MENTION_EVERYONE. In the context of the bot's DM, it also includes USE_EXTERNAL_EMOJI.