Update index.js

This commit is contained in:
Sefinek committed 2026-01-21 18:58:39 +01:00
1 parent 234584bf1f
commit 65af83cf90
1 file changed
+1 -1
+1 -1
View File
@@ -77,7 +77,7 @@ const reportIp = async ({ srcIp, dpt = 'N/A', proto = 'N/A', timestamp }, catego
ABUSE_STATE.sentBulk = false; ABUSE_STATE.sentBulk = false;
LAST_RATELIMIT_LOG = Date.now(); LAST_RATELIMIT_LOG = Date.now();
RATELIMIT_RESET = nextRateLimitReset(); RATELIMIT_RESET = nextRateLimitReset();
logger.info(`Daily API request limit for specified endpoint reached. Reports will be buffered until ${RATELIMIT_RESET.toLocaleString()}. Bulk report will be sent the following day.`, { discord: true }); logger.info(`Daily API request limit for specified endpoint reached. Reports will be buffered until \`${RATELIMIT_RESET.toLocaleString()}\`. Bulk report will be sent the following day.`, { discord: true });
} }
if (!BULK_REPORT_BUFFER.has(srcIp)) { if (!BULK_REPORT_BUFFER.has(srcIp)) {