From 9c3163da5e31bdfea0645df93f12a8be40d37e38 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Sat, 15 Nov 2025 12:44:38 +0100 Subject: [PATCH] RoleColorEverywhere: fix reactions --- src/plugins/roleColorEverywhere/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/roleColorEverywhere/index.tsx b/src/plugins/roleColorEverywhere/index.tsx index 34584242..0bbc974a 100644 --- a/src/plugins/roleColorEverywhere/index.tsx +++ b/src/plugins/roleColorEverywhere/index.tsx @@ -136,7 +136,7 @@ export default definePlugin({ { find: ".reactorDefault", replacement: { - match: /,onContextMenu:\i=>.{0,15}\((\i),(\i),(\i)\).{0,250}tag:"strong"/, + match: /tag:"strong"(?=.{0,50}\i\.name)(?<=onContextMenu:.{0,15}\((\i),(\i),\i\).+?)/, replace: "$&,style:$self.getColorStyle($2?.id,$1?.channel?.id)" }, predicate: () => settings.store.reactorsList,