BadgesAPI: Add To Settings Card

This commit is contained in:
thororen1234 2025-07-16 00:52:39 -04:00
parent 2c35cfd646
commit f3b76d98eb
No known key found for this signature in database

View file

@ -115,6 +115,13 @@ export default definePlugin({
replace: "...($1.onClick&&{onClick:vcE=>$1.onClick(vcE,$1)}),$&"
}
]
},
{
find: "profileCardUsernameRow,children",
replacement: {
match: /(?<=accountProfileCard.{0,50}displayProfile:(\i).*?badges:)(\i)/,
replace: "[...$self.getBadges($1),...$2]"
}
}
],