Table of Contents

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 DiscordPermissions

Permissions to check.

Returns

DiscordPermissionLevel

Whether given permissions are allowed, denied, or not set.