diff options
author | Intevel ツ <59223342+Intevel@users.noreply.github.com> | 2021-08-13 12:23:05 +0200 |
---|---|---|
committer | Intevel ツ <59223342+Intevel@users.noreply.github.com> | 2021-08-13 12:23:05 +0200 |
commit | a640384886b736606788ca3c75107ff5382ce0d7 (patch) | |
tree | a7183ec4565cec94cadf83ca4ec492b0647eba88 /util | |
parent | Create Emoji.ts (diff) | |
download | server-a640384886b736606788ca3c75107ff5382ce0d7.tar.xz |
Update Permissions.ts
Diffstat (limited to 'util')
-rw-r--r-- | util/src/util/Permissions.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/src/util/Permissions.ts b/util/src/util/Permissions.ts index 445e901f..63d87e48 100644 --- a/util/src/util/Permissions.ts +++ b/util/src/util/Permissions.ts @@ -49,7 +49,7 @@ type PermissionString = | "MANAGE_NICKNAMES" | "MANAGE_ROLES" | "MANAGE_WEBHOOKS" - | "MANAGE_EMOJIS"; + | "MANAGE_EMOJIS_AND_STICKERS"; const CUSTOM_PERMISSION_OFFSET = BigInt(1) << BigInt(48); // 16 free custom permission bits, and 16 for discord to add new ones @@ -87,7 +87,7 @@ export class Permissions extends BitField { MANAGE_NICKNAMES: BigInt(1) << BigInt(27), MANAGE_ROLES: BigInt(1) << BigInt(28), MANAGE_WEBHOOKS: BigInt(1) << BigInt(29), - MANAGE_EMOJIS: BigInt(1) << BigInt(30), + MANAGE_EMOJIS_AND_STICKERS: BigInt(1) << BigInt(30), /** * CUSTOM PERMISSIONS ideas: * - allow user to dm members |