Fix DeadMembers
Some checks are pending
Sync to Codeberg / Sync Codeberg and Github (push) Waiting to run
Test / Test (push) Waiting to run
Release / Build Equicord (push) Waiting to run

This commit is contained in:
thororen1234 2025-03-25 22:23:50 -04:00
parent c81b2c087b
commit 369ed5b4e8
No known key found for this signature in database

View file

@ -17,8 +17,8 @@ export default definePlugin({
{
find: '.BADGES=1]="BADGES"',
replacement: {
match: /(\i)=\{className:\i.username,style:.*?onContextMenu:\i,children:.*?\},/,
replace: "$&__dummyvar=($1.children=$self.wrapMessageAuthor(arguments[0],$1.children)),"
match: /(\i)=\{className:\i.username,style:.*?onContextMenu:\i,children:.*?\};/,
replace: "$&$1.children=$self.wrapMessageAuthor(arguments[0],$1.children);"
}
},
{