mirror of
https://github.com/Equicord/Equicord.git
synced 2025-04-01 13:11:57 -04:00
AlwaysExpandProfile: Bot Profiles
This commit is contained in:
parent
c9fbbe6223
commit
2e0fa07a9e
1 changed files with 8 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue