Updated Guild Permissions mask
This commit is contained in:
@@ -11,7 +11,7 @@ namespace Discord
|
|||||||
public static readonly GuildPermissions None = new GuildPermissions();
|
public static readonly GuildPermissions None = new GuildPermissions();
|
||||||
/// <summary> Gets a GuildPermissions that grants all permissions. </summary>
|
/// <summary> Gets a GuildPermissions that grants all permissions. </summary>
|
||||||
//TODO: C#7 Candidate for binary literals
|
//TODO: C#7 Candidate for binary literals
|
||||||
public static readonly GuildPermissions All = new GuildPermissions(Convert.ToUInt64("00011111111100111111110000111111", 2));
|
public static readonly GuildPermissions All = new GuildPermissions(Convert.ToUInt64("01111111111100111111110000111111", 2));
|
||||||
|
|
||||||
/// <summary> Gets a packed value representing all the permissions in this GuildPermissions. </summary>
|
/// <summary> Gets a packed value representing all the permissions in this GuildPermissions. </summary>
|
||||||
public ulong RawValue { get; }
|
public ulong RawValue { get; }
|
||||||
|
|||||||
Reference in New Issue
Block a user