diff --git a/src/plugins/roleColorEverywhere/index.tsx b/src/plugins/roleColorEverywhere/index.tsx index ed296e577..56b224da8 100644 --- a/src/plugins/roleColorEverywhere/index.tsx +++ b/src/plugins/roleColorEverywhere/index.tsx @@ -94,7 +94,7 @@ export default definePlugin({ find: "renderPrioritySpeaker", replacement: [ { - match: /renderName\(\).{0,100}speaking:.+?(?=\[\i\.username\])/, + match: /renderName\(\){.+?usernameSpeaking\]:.+?(?=children)/, replace: "$&...$self.getVoiceProps(this.props)," } ],