summary refs log tree commit diff
path: root/util
diff options
context:
space:
mode:
authorFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-13 13:07:25 +0200
committerFlam3rboy <34555296+Flam3rboy@users.noreply.github.com>2021-08-13 13:07:25 +0200
commit2018a97d45a918b3aec2b39abd4e7a10039c30f8 (patch)
treec5ffe3e4bcc2e0052525895aed6af28af12cdb82 /util
parentabstract Event emission (diff)
parentserver-util 1.3.55 (diff)
downloadserver-2018a97d45a918b3aec2b39abd4e7a10039c30f8.tar.xz
Merge branch 'master' of https://github.com/fosscord/fosscord-api
Diffstat (limited to 'util')
-rw-r--r--util/package.json4
-rw-r--r--util/src/util/Permissions.ts4
2 files changed, 4 insertions, 4 deletions
diff --git a/util/package.json b/util/package.json
index c2b08a3d..5ce97669 100644
--- a/util/package.json
+++ b/util/package.json
@@ -1,7 +1,7 @@
 {
 	"name": "@fosscord/util",
-	"version": "1.3.52",
-	"description": "Utility functions and database models for fosscord",
+	"version": "1.3.55",
+	"description": "Utility functions for the all server repositories",
 	"main": "dist/index.js",
 	"types": "dist/index.d.ts",
 	"scripts": {
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