From bb5e1ec8222cb1d0ef663649941f60230699e778 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Fri, 14 Feb 2025 21:49:23 -0500 Subject: [PATCH] My Sanity ISTG --- src/equicordplugins/customUserColors/index.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/equicordplugins/customUserColors/index.tsx b/src/equicordplugins/customUserColors/index.tsx index 5e0bfe35..a463f10f 100644 --- a/src/equicordplugins/customUserColors/index.tsx +++ b/src/equicordplugins/customUserColors/index.tsx @@ -83,15 +83,15 @@ export default definePlugin({ patches: [ { // this also affects name headers in chats outside of servers - find: /type:\i\.\i\.Types\.REMIX/, + find: ".USERNAME),{", replacement: { - match: /"username".{0,25}void 0/, - replace: "{color:$self.colorIfServer(arguments[0])}" + match: /(\i=\{.{0,50})\?\{color:\i\}:void 0/, + replace: "color=$self.colorIfServer(arguments[0]),$1?{color:color}:{color:color}" } }, { predicate: () => settings.store.dmList, - find: /muted:\i=!1,highlighted:\i=!1/, + find: "!1,wrapContent", replacement: { match: /(nameAndDecorators,)/, replace: "$1style:{color:$self.colorDMList(arguments[0])},"