diff options
-rw-r--r-- | src/plugins/roleColorEverywhere.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/roleColorEverywhere.tsx b/src/plugins/roleColorEverywhere.tsx index 5d48da0..4085b25 100644 --- a/src/plugins/roleColorEverywhere.tsx +++ b/src/plugins/roleColorEverywhere.tsx @@ -52,8 +52,8 @@ export default definePlugin({ find: 'className:"mention"', replacement: [ { - match: /user:(\i),channelId:(\i).{0,300}?"@"\.concat\(.+?\)/, - replace: "$&,color:$self.getUserColor($1.id,{channelId:$2})" + match: /user:(\i),channel:(\i).{0,300}?"@"\.concat\(.+?\)/, + replace: "$&,color:$self.getUserColor($1.id,{channelId:$2.id})" } ], predicate: () => settings.store.chatMentions, |