Operator operator -
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
operator -(DiscordPermissions, DiscordPermission)
Removes the specified permission from a permission set.
public static DiscordPermissions operator -(DiscordPermissions value, DiscordPermission remove)
Parameters
value
DiscordPermissionsremove
DiscordPermission
Returns
operator -(DiscordPermissions, DiscordPermissions)
Removes all permissions specified in the right-hand set from the left-hand set and returns the new permission set.
public static DiscordPermissions operator -(DiscordPermissions left, DiscordPermissions right)
Parameters
left
DiscordPermissionsright
DiscordPermissions