Fix ShowConnections

Co-Authored-By: Masterjoona <69722179+Masterjoona@users.noreply.github.com>
This commit is contained in:
Vendicated 2024-07-31 03:02:10 +02:00
parent e460b5efb6
commit 3013c669c0
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18

View file

@ -211,9 +211,9 @@ export default definePlugin({
}
},
{
find: /\.BITE_SIZE,onOpenProfile:\i,usernameIcon:/,
find: '"BiteSizeProfileBody"',
replacement: {
match: /currentUser:\i,guild:\i,onOpenProfile:.+?}\)(?=])(?<=user:(\i),bio:null==(\i)\?.+?)/,
match: /currentUser:\i,guild:\i}\)(?<=user:(\i),bio:null==(\i)\?.+?)/,
replace: "$&,$self.profilePopoutComponent({ user: $1, displayProfile: $2, simplified: true })"
}
}