Method HasAnyPermission
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
HasAnyPermission(params ReadOnlySpan<DiscordPermission>)
Returns whether any of the specified permissions are granted, either directly or through Administrator permissions.
public bool HasAnyPermission(params ReadOnlySpan<DiscordPermission> permissions)
Parameters
permissions
ReadOnlySpan<DiscordPermission>
Returns
HasAnyPermission(DiscordPermissions)
Returns whether any of the specified permissions are granted, either directly or through Administrator permissions.
public bool HasAnyPermission(DiscordPermissions permissions)
Parameters
permissions
DiscordPermissions