diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/_api/serverList.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/_api/serverList.ts b/src/plugins/_api/serverList.ts index 6585d38..ec377fc 100644 --- a/src/plugins/_api/serverList.ts +++ b/src/plugins/_api/serverList.ts @@ -27,8 +27,8 @@ export default definePlugin({ { find: "Messages.DISCODO_DISABLED", replacement: { - match: /(Messages\.DISCODO_DISABLED\);return)(.*?homeIcon.*?)(\}function)/, - replace: "$1[$2].concat(Vencord.Api.ServerList.renderAll(Vencord.Api.ServerList.ServerListRenderPosition.Above))$3" + match: /(Messages\.DISCODO_DISABLED.+?return)(\(.{0,75}?tutorialContainer.+?}\))(?=}function)/, + replace: "$1[$2].concat(Vencord.Api.ServerList.renderAll(Vencord.Api.ServerList.ServerListRenderPosition.Above))" } }, { |