Fix Decor patch

This commit is contained in:
Nuckyz 2024-02-22 21:31:15 -03:00
parent f922f0bc0d
commit e3fd954512
No known key found for this signature in database
GPG key ID: 440BF8296E1C4AD9

View file

@ -72,7 +72,7 @@ export default definePlugin({
replacement: [ replacement: [
// Add Decor avatar decoration hook to avatar decoration hook // Add Decor avatar decoration hook to avatar decoration hook
{ {
match: /(?<=TryItOut:\i}\),)(?<=user:(\i).+?)/, match: /(?<=TryItOut:\i,guildId:\i}\),)(?<=user:(\i).+?)/,
replace: "vcDecorAvatarDecoration=$self.useUserDecorAvatarDecoration($1)," replace: "vcDecorAvatarDecoration=$self.useUserDecorAvatarDecoration($1),"
}, },
// Use added hook // Use added hook