Method CheckPermission
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
CheckPermission(DiscordPermissions)
Checks whether given permissions are allowed, denied, or not set.
public DiscordPermissionLevel CheckPermission(DiscordPermissions permissions)
Parameters
permissions
DiscordPermissionsPermissions to check.
Returns
- DiscordPermissionLevel
Whether given permissions are allowed, denied, or not set.