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
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