Table of Contents

Method HasFlag

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

HasFlag(DiscordPermission)

Returns whether the specified permission is set explicitly.

public bool HasFlag(DiscordPermission flag)

Parameters

flag DiscordPermission

Returns

bool