Table of Contents

Operator operator ~

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

operator ~(DiscordPermissions)

Negates the specified permission set.

public static DiscordPermissions operator ~(DiscordPermissions value)

Parameters

value DiscordPermissions

Returns

DiscordPermissions

Remarks

Since Administrator is a normal flag for the intents and purposes of this method, it is recommended to be careful uploading return values to the Discord API.