From 2e0fa07a9eefb4233f07f2999beee6a0e81b808a Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Thu, 20 Mar 2025 07:02:11 -0400 Subject: [PATCH] AlwaysExpandProfile: Bot Profiles --- src/equicordplugins/alwaysExpandProfile/index.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/equicordplugins/alwaysExpandProfile/index.ts b/src/equicordplugins/alwaysExpandProfile/index.ts index d85a8a98..16070343 100644 --- a/src/equicordplugins/alwaysExpandProfile/index.ts +++ b/src/equicordplugins/alwaysExpandProfile/index.ts @@ -20,7 +20,14 @@ export default definePlugin({ match: /(?<=user:(\i).*?"PRESS_VIEW_PROFILE".{0,50})return/, replace: "return $self.openUserProfile($1);" } - } + }, + { + find: '"BotUserProfilePopout"', + replacement: { + match: /(?<=user:(\i).*?"PRESS_VIEW_PROFILE".{0,50})return/, + replace: "return $self.openUserProfile($1);" + } + }, ], openUserProfile(user: User) { openUserProfile(user.id);