Table of Contents

Method CheckPermission

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

CheckPermission(DiscordPermissions)

Checks whether this role has specific permissions.

public DiscordPermissionLevel CheckPermission(DiscordPermissions permissions)

Parameters

permissions DiscordPermissions

Permissions to check for.

Returns

DiscordPermissionLevel

Whether the permissions are allowed or not.