From 88c6e2a0e9e216965dfaa82289164a39568e2890 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Wed, 25 Oct 2023 19:54:13 +0200 Subject: [PATCH] Fix PermissionViewer --- src/plugins/permissionsViewer/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/permissionsViewer/index.tsx b/src/plugins/permissionsViewer/index.tsx index 8f31080ed..bdfb7b13f 100644 --- a/src/plugins/permissionsViewer/index.tsx +++ b/src/plugins/permissionsViewer/index.tsx @@ -161,7 +161,7 @@ export default definePlugin({ patches: [ { - find: ".Messages.BOT_PROFILE_SLASH_COMMANDS", + find: ".popularApplicationCommandIds,", replacement: { match: /showBorder:.{0,60}}\),(?<=guild:(\i),guildMember:(\i),.+?)/, replace: (m, guild, guildMember) => `${m}$self.UserPermissions(${guild},${guildMember}),`