From 6890b34d845f0b4d360d7db75819c380abdf5a9f Mon Sep 17 00:00:00 2001 From: ITOH Date: Sat, 1 Apr 2023 21:16:14 +0200 Subject: [PATCH] feat(types)!: add guild expression & view monetization permissions (#2934) Closes: https://github.com/discordeno/discordeno/issues/2926 --- packages/types/src/shared.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/packages/types/src/shared.ts b/packages/types/src/shared.ts index 7eb13e5ef..9678456ba 100644 --- a/packages/types/src/shared.ts +++ b/packages/types/src/shared.ts @@ -612,8 +612,8 @@ export enum BitwisePermissionFlags { MANAGE_ROLES = 0x0000000010000000, /** Allows management and editing of webhooks */ MANAGE_WEBHOOKS = 0x0000000020000000, - /** Allows management and editing of emojis and stickers */ - MANAGE_EMOJIS_AND_STICKERS = 0x0000000040000000, + /** Allows management and editing of emojis, stickers, and soundboard sounds */ + MANAGE_GUILD_EXPRESSIONS = 0x0000000040000000, /** Allows members to use application commands in text channels */ USE_SLASH_COMMANDS = 0x0000000080000000, /** Allows for requesting to speak in stage channels. */ @@ -634,6 +634,10 @@ export enum BitwisePermissionFlags { USE_EMBEDDED_ACTIVITIES = 0x0000008000000000, /** Allows for timing out users to prevent them from sending or reacting to messages in chat and threads, and from speaking in voice and stage channels */ MODERATE_MEMBERS = 0x0000010000000000, + /** Allows for viewing role subscription insights. */ + VIEW_CREATOR_MONETIZATION_ANALYTICS = 0x0000020000000000, + /** Allows for using soundboard in a voice channel. */ + USE_SOUNDBOARD = 0x0000040000000000, } export type PermissionStrings = keyof typeof BitwisePermissionFlags