fix ShowConnections & FakeProfileThemes

This commit is contained in:
Vendicated 2024-06-26 18:40:21 +02:00
parent bc0d4a80ff
commit 14e11973ef
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18
3 changed files with 8 additions and 6 deletions

View file

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