mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-18 13:23:28 -05:00
Fix Both Bad Patches
This commit is contained in:
parent
7263093502
commit
22316a9610
2 changed files with 2 additions and 2 deletions
|
@ -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;$&"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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))"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue