Table of Contents

Method HasPermission

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

HasPermission(DiscordPermission)

Returns whether the specified permission is granted, either directly or through Administrator permissions.

public bool HasPermission(DiscordPermission permission)

Parameters

permission DiscordPermission

Returns

bool