diff --git a/src/plugins/_core/supportHelper.tsx b/src/plugins/_core/supportHelper.tsx index 77e67ef2..1a77aa99 100644 --- a/src/plugins/_core/supportHelper.tsx +++ b/src/plugins/_core/supportHelper.tsx @@ -181,10 +181,8 @@ export default definePlugin({ if (!SUPPORT_CHANNEL_IDS.includes(channelId)) return; const selfId = UserStore.getCurrentUser()?.id; - if ( - channelId === VC_SUPPORT_CHANNEL_ID && Vencord.Plugins.isPluginEnabled("VCSupport") && !clicked && !isEquicordPluginDev(selfId) || - channelId === VC_SUPPORT_CHANNEL_ID && Vencord.Plugins.isPluginEnabled("VCSupport") && !clicked && !isPluginDev(selfId) - ) { + if (!selfId || isPluginDev(selfId) || isEquicordPluginDev(selfId)) return; + if (channelId === VC_SUPPORT_CHANNEL_ID && Vencord.Plugins.isPluginEnabled("VCSupport") && !clicked) { clicked = true; return Alerts.show({ title: "You are entering the support channel!", @@ -203,8 +201,6 @@ export default definePlugin({ }); } - if (!selfId || isPluginDev(selfId) || isEquicordPluginDev(selfId)) return; - if (!IS_UPDATER_DISABLED) { await checkForUpdatesOnce().catch(() => { });