AlwaysExpandProfile: Dont Show Bite Size Popout

This commit is contained in:
thororen1234 2025-03-19 14:02:48 -04:00
parent 90d62b672c
commit 9a96d856a9
No known key found for this signature in database

View file

@ -15,10 +15,10 @@ export default definePlugin({
authors: [EquicordDevs.thororen],
patches: [
{
find: ".hasAvatarForGuild(null==",
find: '"UserProfilePopout"',
replacement: {
match: /(?<=user:(\i).*?===\i\.id.*?)return/,
replace: "return $self.openUserProfile($1) ||"
match: /(?<=user:(\i).*?"PRESS_VIEW_PROFILE".{0,50})return/,
replace: "return $self.openUserProfile($1);"
}
}
],