From f3b76d98eb97252927f49328bcd18b2ae7d63636 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Wed, 16 Jul 2025 00:52:39 -0400 Subject: [PATCH] BadgesAPI: Add To Settings Card --- src/plugins/_api/badges/index.tsx | 7 +++++++ 1 file changed, 7 insertions(+) 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]" + } } ],