From 317b6a2a2b23c3e8fc33967ee4f956985fc62f32 Mon Sep 17 00:00:00 2001 From: Sefinek Date: Sun, 27 Apr 2025 02:20:29 +0200 Subject: [PATCH] Update --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index cef28b4..fff40bd 100644 --- a/index.js +++ b/index.js @@ -196,7 +196,7 @@ const processLogLine = async (line, test = false) => { }); }); - await require('./scripts/services/updates.js')(); + if (AUTO_UPDATE_ENABLED && AUTO_UPDATE_SCHEDULE && SERVER_ID !== 'development') await require('./scripts/services/updates.js')(); if (DISCORD_WEBHOOKS_ENABLED && DISCORD_WEBHOOKS_URL) await require('./scripts/services/summaries.js')(); if (SERVER_ID !== 'development') await sendWebhook(`[${repoName}](${repoURL}) has been successfully started on the device \`${SERVER_ID}\`.`, 0x59D267);