Operator operator |
- Namespace
- DSharpPlus.Entities
- Assembly
- DSharpPlus.dll
operator |(DiscordPermissions, DiscordPermission)
Adds the specified permission to the permission set.
public static DiscordPermissions operator |(DiscordPermissions value, DiscordPermission flag)
Parameters
value
DiscordPermissionsflag
DiscordPermission
Returns
operator |(DiscordPermissions, DiscordPermissions)
Merges both permission sets into one, taking all set permissions from both.
public static DiscordPermissions operator |(DiscordPermissions left, DiscordPermissions right)
Parameters
left
DiscordPermissionsright
DiscordPermissions