diff --git a/src/equicordplugins/deadMembers/index.tsx b/src/equicordplugins/deadMembers/index.tsx index d14df454..7e253de4 100644 --- a/src/equicordplugins/deadMembers/index.tsx +++ b/src/equicordplugins/deadMembers/index.tsx @@ -17,8 +17,8 @@ export default definePlugin({ { find: '.BADGES=1]="BADGES"', replacement: { - match: /(\i)=\{className:\i.username,style:.*?onContextMenu:\i,children:.*?\};/, - replace: "$&$1.children=$self.wrapMessageAuthor(arguments[0],$1.children);" + match: /(\i)=\{className:\i.username,style:.*?onContextMenu:\i,children:.*?\},/, + replace: "$&__dummyvar=($1.children=$self.wrapMessageAuthor(arguments[0],$1.children))," } }, {