From d898a8d6ec32cb7b8882575fc8b7209647a6701c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcos=20Susa=C3=B1a?= Date: Sat, 20 Aug 2022 00:56:46 -0400 Subject: [PATCH] fix: update permissions strings (#101) * fix: update permissions strings * fix: restore breaking changes * fix: deprecated tag Co-authored-by: Yuzu --- packages/api-types/src/common.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/api-types/src/common.ts b/packages/api-types/src/common.ts index ae9c3c9..f44c17f 100644 --- a/packages/api-types/src/common.ts +++ b/packages/api-types/src/common.ts @@ -613,9 +613,13 @@ export enum BitwisePermissionFlags { MANAGE_ROLES = 0x0000000010000000, /** Allows management and editing of webhooks */ MANAGE_WEBHOOKS = 0x0000000020000000, - /** Allows management and editing of emojis */ + /** @deprecated use MANAGE_EMOJIS_AND_STICKERS instead */ MANAGE_EMOJIS = 0x0000000040000000, + /** Allows management and editing of emojis and stickers */ + MANAGE_EMOJIS_AND_STICKERS = 0x0000000040000000, /** Allows members to use application commands in text channels */ + USE_APPLICATION_COMMANDS = 0x0000000080000000, + /** @deprecated use USE_APPLICATION_COMMANDS instead */ USE_SLASH_COMMANDS = 0x0000000080000000, /** Allows for requesting to speak in stage channels. */ REQUEST_TO_SPEAK = 0x0000000100000000,