From d5b10b9b4ff334ec49879677711e202e273a36ad Mon Sep 17 00:00:00 2001 From: Sefinek Date: Sun, 27 Apr 2025 01:29:48 +0200 Subject: [PATCH] Fixes --- index.js | 4 ++-- scripts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 5a583fd..d4288b8 100644 --- a/index.js +++ b/index.js @@ -196,11 +196,11 @@ const processLogLine = async (line, test = false) => { }); }); - if (AUTO_UPDATE_ENABLED && AUTO_UPDATE_SCHEDULE && SERVER_ID !== 'development') await require('./scripts/services/updates.js')(); + 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(0, `[${repoName}](${repoURL}) has been successfully launched on the device \`${SERVER_ID}\`.`); + await sendWebhook(`[${repoName}](${repoURL}) has been successfully launched on the device \`${SERVER_ID}\``); } log(`Ready! Now monitoring: ${UFW_LOG_FILE}`, 1); diff --git a/scripts b/scripts index 3bf1359..e0b13a9 160000 --- a/scripts +++ b/scripts @@ -1 +1 @@ -Subproject commit 3bf135936b0081dac446aec2b7caefc7d3d66151 +Subproject commit e0b13a917a52284a3f24dc1a976b8133d213b4b4