mirror of
https://github.com/System-End/Vencord.git
synced 2026-04-19 18:35:13 +00:00
fix Decor & NoTrack (#3752)
Co-authored-by: Vendicated <vendicated@riseup.net>
This commit is contained in:
parent
3992f971d0
commit
44a75e4e94
3 changed files with 2 additions and 11 deletions
|
|
@ -49,7 +49,7 @@ export default definePlugin({
|
|||
},
|
||||
},
|
||||
{
|
||||
find: ".METRICS",
|
||||
find: ".METRICS_V2",
|
||||
replacement: [
|
||||
{
|
||||
match: /this\._intervalId=/,
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ export default definePlugin({
|
|||
replacement: [
|
||||
// Add Decor avatar decoration hook to avatar decoration hook
|
||||
{
|
||||
match: /(?<=TryItOut:\i,guildId:\i}\),)(?<=user:(\i).+?)/,
|
||||
match: /(?<=\.avatarDecoration,guildId:\i\}\)\),)(?<=user:(\i).+?)/,
|
||||
replace: "vcDecorAvatarDecoration=$self.useUserDecorAvatarDecoration($1),"
|
||||
},
|
||||
// Use added hook
|
||||
|
|
|
|||
|
|
@ -104,15 +104,6 @@ export default definePlugin({
|
|||
replace: "false",
|
||||
}
|
||||
},
|
||||
// Enable option to always record clips even if you are not streaming
|
||||
{
|
||||
find: "isDecoupledGameClippingEnabled(){",
|
||||
replacement: {
|
||||
match: /\i\.isStaff\(\)/,
|
||||
replace: "true"
|
||||
}
|
||||
},
|
||||
|
||||
// Enable experiment embed on sent experiment links
|
||||
{
|
||||
find: "dev://experiment/",
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue