diff options
author | Nuckyz <61953774+Nuckyz@users.noreply.github.com> | 2023-08-15 18:48:50 -0300 |
---|---|---|
committer | Nuckyz <61953774+Nuckyz@users.noreply.github.com> | 2023-08-15 18:48:50 -0300 |
commit | e02fcce3dc094ff383472c0c6a47bb3f2d7fe82d (patch) | |
tree | 8ffede3a1eddd6bd9d195b92fe409585b054caf9 /src/plugins | |
parent | 3e732646e5ab83f76b34ec7fdb3d9d8c68faca8d (diff) | |
download | Vencord-e02fcce3dc094ff383472c0c6a47bb3f2d7fe82d.tar.gz Vencord-e02fcce3dc094ff383472c0c6a47bb3f2d7fe82d.tar.bz2 Vencord-e02fcce3dc094ff383472c0c6a47bb3f2d7fe82d.zip |
Fix ServerListAPI
Diffstat (limited to 'src/plugins')
-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))" } }, { |