diff --git a/src/equicordplugins/noDeleteSafety/index.tsx b/src/equicordplugins/noDeleteSafety/index.tsx index 785adeac..6a28ed2a 100644 --- a/src/equicordplugins/noDeleteSafety/index.tsx +++ b/src/equicordplugins/noDeleteSafety/index.tsx @@ -44,7 +44,7 @@ export default definePlugin({ { find: ".DELETE,onClick(){let", replacement: { - match: /let \i=(\i).toString\(\)/, + match: /let \i=(\i).guild.toString\(\)/, replace: "$self.HandleGuildDeleteModal($1);return;$&" } } diff --git a/src/plugins/_api/serverList.ts b/src/plugins/_api/serverList.ts index ec6002c6..00bf3054 100644 --- a/src/plugins/_api/serverList.ts +++ b/src/plugins/_api/serverList.ts @@ -39,7 +39,7 @@ export default definePlugin({ 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))" } ]