From e5e874c97cc6eb6a2707e71b9802eb7d15f886b6 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Fri, 23 Jan 2026 16:51:08 -0500 Subject: [PATCH] fixes --- src/equicordplugins/customUserColors/index.tsx | 2 +- src/plugins/callTimer/index.tsx | 4 ++-- src/plugins/roleColorEverywhere/index.tsx | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/equicordplugins/customUserColors/index.tsx b/src/equicordplugins/customUserColors/index.tsx index 745935b88..01c0f55c0 100644 --- a/src/equicordplugins/customUserColors/index.tsx +++ b/src/equicordplugins/customUserColors/index.tsx @@ -124,7 +124,7 @@ export default definePlugin({ { find: "PrivateChannel.renderAvatar", replacement: { - match: /(\i\]:\i\}\),children:\i\}\),)(?=.{0,100}Types\.SYSTEM_DM)/, + match: /(\i\]:\i\}\),children:\i\}\),)(?=.{0,100}isSystem\(\))/, replace: "$1style:{color:`${$self.colorDMList(arguments[0])}`}," }, predicate: () => settings.store.dmList, diff --git a/src/plugins/callTimer/index.tsx b/src/plugins/callTimer/index.tsx index 1b89033c0..1dd2fb66b 100644 --- a/src/plugins/callTimer/index.tsx +++ b/src/plugins/callTimer/index.tsx @@ -125,8 +125,8 @@ export default definePlugin({ predicate: () => settings.store.allCallTimers, replacement: [ { - match: /(?<=user:(\i).*?\.EMBEDDED.{0,250}className:)\i\.\i,.{0,200}children:\[/, - replace: "$&$self.renderTimer($1.id),", + match: /(?<=\.EMBEDDED.{0,250}className:)\i\.\i,.{0,200}children:\[/, + replace: "$&$self.renderTimer(arguments[0].id),", predicate: () => !settings.store.showWithoutHover, }, { diff --git a/src/plugins/roleColorEverywhere/index.tsx b/src/plugins/roleColorEverywhere/index.tsx index 6e710d54b..724593008 100644 --- a/src/plugins/roleColorEverywhere/index.tsx +++ b/src/plugins/roleColorEverywhere/index.tsx @@ -128,8 +128,8 @@ export default definePlugin({ find: "#{intl::GUEST_NAME_SUFFIX})]", replacement: [ { - match: /#{intl::GUEST_NAME_SUFFIX}\)\].+?\](?<=guildId:(\i),.+?user:(\i).+?)/, - replace: "$&,style:$self.getColorStyle($2.id,$1)," + match: /#{intl::GUEST_NAME_SUFFIX}\)\].+?\](?=.*?userId:(\i\.id),contextGuildId:(\i))/, + replace: "$&,style:$self.getColorStyle($1,$2)," } ], predicate: () => settings.store.voiceUsers