From 8909525b4d9c6ea932b22405f0a4acaeceea963e Mon Sep 17 00:00:00 2001 From: Grzesiek11 Date: Sun, 18 Feb 2024 00:52:29 +0100 Subject: [PATCH] Use more stable find value --- src/plugins/ircColors/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/ircColors/index.ts b/src/plugins/ircColors/index.ts index 42b4e7ae8..9d23ca2ef 100644 --- a/src/plugins/ircColors/index.ts +++ b/src/plugins/ircColors/index.ts @@ -25,7 +25,7 @@ export default definePlugin({ authors: [Devs.Grzesiek11], patches: [ { - find: ".useCanSeeRemixBadge)", + find: "=\"SYSTEM_TAG\"", replacement: { match: /style:"username"===\i&&null!=\i\?{color:\i}:void 0/, replace: "style:{color:$self.calculateNameColor(BigInt(arguments[0].message.author.id))}"