diff options
author | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-13 13:07:25 +0200 |
---|---|---|
committer | Flam3rboy <34555296+Flam3rboy@users.noreply.github.com> | 2021-08-13 13:07:25 +0200 |
commit | 2018a97d45a918b3aec2b39abd4e7a10039c30f8 (patch) | |
tree | c5ffe3e4bcc2e0052525895aed6af28af12cdb82 /util/src | |
parent | abstract Event emission (diff) | |
parent | server-util 1.3.55 (diff) | |
download | server-2018a97d45a918b3aec2b39abd4e7a10039c30f8.tar.xz |
Merge branch 'master' of https://github.com/fosscord/fosscord-api
Diffstat (limited to 'util/src')
-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 |