This commit is contained in:
Sefinek committed 2025-06-07 14:27:02 +02:00
1 parent 46c4c9825a
commit bbfb55d890
4 files changed
+6 -7

No files matched your search

+2 -3
View File
@@ -9,8 +9,7 @@ const { axios } = require('./scripts/services/axios.js');
const { saveBufferToFile, loadBufferFromFile, sendBulkReport, BULK_REPORT_BUFFER } = require('./scripts/services/bulk.js');
const { reportedIPs, loadReportedIPs, saveReportedIPs, isIPReportedRecently, markIPAsReported } = require('./scripts/services/cache.js');
const { refreshServerIPs, getServerIPs } = require('./scripts/services/ipFetcher.js');
const { name, version, repoFullUrl } = require('./scripts/repo.js');
const sendWebhook = require('./scripts/services/discordWebhooks.js');
const { repoSlug, repoUrl, version } = require('./scripts/repo.js');
const isSpecialPurposeIP = require('./scripts/isSpecialPurposeIP.js');
const logger = require('./scripts/logger.js');
const config = require('./config.js');
@@ -190,7 +189,7 @@ const processLogLine = async (line, test = false) => {
if (DISCORD_WEBHOOK_ENABLED && DISCORD_WEBHOOK_URL) await require('./scripts/services/summaries.js')();
// Ready
await sendWebhook(`[${name}](${repoFullUrl}) was successfully started!`, 0x59D267);
await logger.webhook(`[${repoSlug}](${repoUrl}) was successfully started!`, 0x59D267);
logger.log(`Ready! Now monitoring: ${UFW_LOG_FILE}`, 1);
process.send?.('ready');
})();