Table of Contents

Method HasAllPermissions

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

HasAllPermissions(params ReadOnlySpan<DiscordPermission>)

Returns whether all of the specified permissions are gratned, either directly or through Administrator permissions.

public bool HasAllPermissions(params ReadOnlySpan<DiscordPermission> permissions)

Parameters

permissions ReadOnlySpan<DiscordPermission>

Returns

bool

HasAllPermissions(DiscordPermissions)

Returns whether all of the specified permissions are gratned, either directly or through Administrator permissions.

public bool HasAllPermissions(DiscordPermissions permissions)

Parameters

permissions DiscordPermissions

Returns

bool