Table of Contents

Method CheckPermission

Namespace
DisCatSharp.Entities
Assembly
DisCatSharp.dll

CheckPermission(Permissions)

Checks whether this role has specific permissions.

public PermissionLevel CheckPermission(Permissions permission)

Parameters

permission Permissions

Permissions to check for.

Returns

PermissionLevel

Whether the permissions are allowed or not.