Fix: GuildPermissions.All not including newer permissions (#2209)
This commit is contained in:
@@ -13,7 +13,7 @@ namespace Discord
|
|||||||
/// <summary> Gets a <see cref="GuildPermissions"/> that grants all guild permissions for webhook users. </summary>
|
/// <summary> Gets a <see cref="GuildPermissions"/> that grants all guild permissions for webhook users. </summary>
|
||||||
public static readonly GuildPermissions Webhook = new GuildPermissions(0b0_00000_0000000_0000000_0001101100000_000000);
|
public static readonly GuildPermissions Webhook = new GuildPermissions(0b0_00000_0000000_0000000_0001101100000_000000);
|
||||||
/// <summary> Gets a <see cref="GuildPermissions"/> that grants all guild permissions. </summary>
|
/// <summary> Gets a <see cref="GuildPermissions"/> that grants all guild permissions. </summary>
|
||||||
public static readonly GuildPermissions All = new GuildPermissions(0b1_11111_1111111_1111111_1111111111111_111111);
|
public static readonly GuildPermissions All = new GuildPermissions(ulong.MaxValue);
|
||||||
|
|
||||||
/// <summary> Gets a packed value representing all the permissions in this <see cref="GuildPermissions"/>. </summary>
|
/// <summary> Gets a packed value representing all the permissions in this <see cref="GuildPermissions"/>. </summary>
|
||||||
public ulong RawValue { get; }
|
public ulong RawValue { get; }
|
||||||
|
|||||||
Reference in New Issue
Block a user