diff --git a/src/plugins/_api/badges/index.tsx b/src/plugins/_api/badges/index.tsx index 8aa38136e..3e09fc21c 100644 --- a/src/plugins/_api/badges/index.tsx +++ b/src/plugins/_api/badges/index.tsx @@ -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]" + } } ],