From e1f8b3cb307371471978973e3c8d4501efc8a6e6 Mon Sep 17 00:00:00 2001 From: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Date: Fri, 22 Mar 2024 09:43:17 -0300 Subject: [PATCH] UserVoiceShow: Fix UserPopout patch stealing predicates from another component --- src/plugins/userVoiceShow/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/userVoiceShow/index.tsx b/src/plugins/userVoiceShow/index.tsx index 935ff1c5d..200cfe895 100644 --- a/src/plugins/userVoiceShow/index.tsx +++ b/src/plugins/userVoiceShow/index.tsx @@ -98,8 +98,8 @@ export default definePlugin({ { find: ".popularApplicationCommandIds,", replacement: { - match: /\(0,\i\.jsx\)\(\i\.\i,{user:\i,setNote/, - replace: "$self.patchPopout(arguments[0]),$&", + match: /applicationId:\i\.id}\),(?=.{0,50}setNote:\i)/, + replace: "$&$self.patchPopout(arguments[0]),", } }, // below username