AlwaysExpandProfile: Bot Profiles
Some checks are pending
Sync to Codeberg / Sync Codeberg and Github (push) Waiting to run
Test / Test (push) Waiting to run

This commit is contained in:
thororen1234 2025-03-20 07:02:11 -04:00
parent c9fbbe6223
commit 2e0fa07a9e
No known key found for this signature in database

View file

@ -20,7 +20,14 @@ export default definePlugin({
match: /(?<=user:(\i).*?"PRESS_VIEW_PROFILE".{0,50})return/, match: /(?<=user:(\i).*?"PRESS_VIEW_PROFILE".{0,50})return/,
replace: "return $self.openUserProfile($1);" 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: User) {
openUserProfile(user.id); openUserProfile(user.id);