From 0ef3fbefcb5feb7466d091d1f71d0c4e5aacf4e1 Mon Sep 17 00:00:00 2001 From: Bsian Date: Fri, 1 Nov 2024 14:53:31 +0000 Subject: [PATCH] new perm --- lib/Constants.d.ts | 9 +++++---- lib/Constants.js | 10 +++++++--- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/lib/Constants.d.ts b/lib/Constants.d.ts index baad7b853..5e9b57a92 100644 --- a/lib/Constants.d.ts +++ b/lib/Constants.d.ts @@ -556,10 +556,11 @@ export default interface Constants { sendVoiceMessages: 70368744177664n; setVoiceChannelStatus: 281474976710656n; sendPolls: 562949953421312n; - allGuild: 29697484783806n; - allText: 633854226857041n; - allVoice: 954930478188305n; - all: 985162418487295n; + useExternalApps: 1125899906842624n; + allGuild: 1155597391626430n; + allText: 1759754133699665n; + allVoice: 2080830385030929n; + all: 2111062325329919n; }; PollLayoutTypes: { DEFAULT: 1; diff --git a/lib/Constants.js b/lib/Constants.js index 0f2b42ca8..49851fec0 100644 --- a/lib/Constants.js +++ b/lib/Constants.js @@ -646,6 +646,7 @@ const Permissions = { // Unknown 47 setVoiceChannelStatus: 1n << 48n, sendPolls: 1n << 49n, + useExternalApps: 1n << 50n, }; Permissions.allGuild = Permissions.kickMembers | Permissions.banMembers @@ -663,7 +664,8 @@ Permissions.allGuild = Permissions.kickMembers | Permissions.moderateMembers | Permissions.viewCreatorMonetizationAnalytics | Permissions.createGuildExpressions - | Permissions.createEvents; + | Permissions.createEvents + | Permissions.useExternalApps; Permissions.allText = Permissions.createInstantInvite | Permissions.manageChannels | Permissions.addReactions @@ -685,7 +687,8 @@ Permissions.allText = Permissions.createInstantInvite | Permissions.useExternalStickers | Permissions.sendMessagesInThreads | Permissions.sendVoiceMessages - | Permissions.sendPolls; + | Permissions.sendPolls + | Permissions.useExternalApps; Permissions.allVoice = Permissions.createInstantInvite | Permissions.manageChannels | Permissions.prioritySpeaker @@ -704,7 +707,8 @@ Permissions.allVoice = Permissions.createInstantInvite | Permissions.useExternalSounds | Permissions.sendVoiceMessages | Permissions.setVoiceChannelStatus - | Permissions.sendPolls; + | Permissions.sendPolls + | Permissions.useExternalApps; Permissions.all = Permissions.allGuild | Permissions.allText | Permissions.allVoice; module.exports.Permissions = Permissions;