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 | 48c796bbd347c98eeef9d0dbef20587685afb7e3 (patch) | |
tree | 2f2d3b02d71b1f68edffc28f1d6408248b11f878 /util/src | |
parent | abstract Event emission (diff) | |
parent | server-util 1.3.55 (diff) | |
download | server-48c796bbd347c98eeef9d0dbef20587685afb7e3.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 |