Fix Both Bad Patches

This commit is contained in:
thororen1234 2025-01-07 20:38:52 -05:00
parent 7263093502
commit 22316a9610
2 changed files with 2 additions and 2 deletions

View file

@ -44,7 +44,7 @@ export default definePlugin({
{ {
find: ".DELETE,onClick(){let", find: ".DELETE,onClick(){let",
replacement: { replacement: {
match: /let \i=(\i).toString\(\)/, match: /let \i=(\i).guild.toString\(\)/,
replace: "$self.HandleGuildDeleteModal($1);return;$&" replace: "$self.HandleGuildDeleteModal($1);return;$&"
} }
} }

View file

@ -39,7 +39,7 @@ export default definePlugin({
replace: "Vencord.Api.ServerList.renderAll(Vencord.Api.ServerList.ServerListRenderPosition.In).concat($&)" replace: "Vencord.Api.ServerList.renderAll(Vencord.Api.ServerList.ServerListRenderPosition.In).concat($&)"
}, },
{ {
match: /fixedDiscoveryIcon\}\)\}\)\]/, match: /discoveryIcon\}\)\}\)\]/,
replace: "$&.concat(Vencord.Api.ServerList.renderAll(Vencord.Api.ServerList.ServerListRenderPosition.Below))" replace: "$&.concat(Vencord.Api.ServerList.renderAll(Vencord.Api.ServerList.ServerListRenderPosition.Below))"
} }
] ]