|
|
@@ -11,7 +11,7 @@ namespace Discord |
|
|
|
public static readonly GuildPermissions None = new GuildPermissions(); |
|
|
|
/// <summary> Gets a GuildPermissions that grants all permissions. </summary> |
|
|
|
//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> |
|
|
|
public ulong RawValue { get; } |
|
|
|