mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-19 05:43:35 -05:00
Fix Checks
This commit is contained in:
parent
ef65dc5735
commit
157a363235
1 changed files with 2 additions and 6 deletions
|
@ -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(() => { });
|
||||
|
||||
|
|
Loading…
Reference in a new issue