Operator operator ^
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
operator ^(DiscordPermissions, DiscordPermission)
Toggles the specified flag in the permission set.
public static DiscordPermissions operator ^(DiscordPermissions value, DiscordPermission flag)
Parameters
value
DiscordPermissionsflag
DiscordPermission
Returns
operator ^(DiscordPermissions, DiscordPermissions)
Performs a bitwise XOR operation between the two permission sets.
public static DiscordPermissions operator ^(DiscordPermissions left, DiscordPermissions right)
Parameters
left
DiscordPermissionsright
DiscordPermissions