diff --git a/src/plugins/ircColors/index.ts b/src/plugins/ircColors/index.ts index 8c9aa5b1c..42b4e7ae8 100644 --- a/src/plugins/ircColors/index.ts +++ b/src/plugins/ircColors/index.ts @@ -27,7 +27,7 @@ export default definePlugin({ { find: ".useCanSeeRemixBadge)", replacement: { - match: /style:"username"===.{1,2}&&null!=.{1,2}\?{color:.{1,2}}:void 0/, + match: /style:"username"===\i&&null!=\i\?{color:\i}:void 0/, replace: "style:{color:$self.calculateNameColor(BigInt(arguments[0].message.author.id))}" }, },