From 00873961ec0464826da07c4ac934bafba2317d88 Mon Sep 17 00:00:00 2001 From: StealTech Date: Sun, 16 Mar 2025 04:57:57 -0500 Subject: [PATCH] Support Helper New Alert for 100+ plugins and invite changes --- src/plugins/_core/supportHelper.tsx | 31 ++++++++++++++++++++++++----- 1 file changed, 26 insertions(+), 5 deletions(-) diff --git a/src/plugins/_core/supportHelper.tsx b/src/plugins/_core/supportHelper.tsx index d15d63b2..1a7a7aca 100644 --- a/src/plugins/_core/supportHelper.tsx +++ b/src/plugins/_core/supportHelper.tsx @@ -130,7 +130,20 @@ function generatePluginList() { } if (enabledPlugins.length > 100 && !(isPluginDev(UserStore.getCurrentUser()?.id) || isEquicordPluginDev(UserStore.getCurrentUser()?.id))) { - content = "We don't support users with more than 100 plugins enabled. Please disable some and try again."; + return Alerts.show({ + title: "You are attempting to get support!", + body:
+ + + Before you ask for help, + We do not handle support for users who use 100+ plugins + issue could be plugin confliction + try removing some plugins and see if it fixes! +
, + cancelText: "Okay continue" + }); } return content; @@ -174,7 +187,10 @@ export default definePlugin({ description: "Send Equicord plugin list", // @ts-ignore predicate: ctx => isPluginDev(UserStore.getCurrentUser()?.id) || isEquicordPluginDev(UserStore.getCurrentUser()?.id) || GUILD_ID === ctx?.guild?.id, - execute: () => ({ content: generatePluginList() }) + execute: () => { + const pluginList = generatePluginList(); + return { content: typeof pluginList === "string" ? pluginList : "Unable to generate plugin list." }; + } } ], @@ -199,7 +215,7 @@ export default definePlugin({ , confirmText: "Go to Equicord Support", cancelText: "Okay continue", - onConfirm: () => VencordNative.native.openExternal("https://discord.gg/npnv52UQwY"), + onConfirm: () => VencordNative.native.openExternal("https://discord.gg/equicord"), }); } @@ -234,7 +250,7 @@ export default definePlugin({ body:
You are using an externally updated Equicord version, the ability to help you here may be limited. - Please join the Equicord Server for support, + Please join the Equicord Server for support, or if this issue persists on Vencord, continue on.
@@ -306,7 +322,12 @@ export default definePlugin({ ,