From 10387c5c074b5b4a4dc81bdc9253758ac718b39b Mon Sep 17 00:00:00 2001 From: Journey Date: Wed, 12 Feb 2025 20:01:57 -0600 Subject: [PATCH] style(console-logs): Change these from being at the bottom to the top. --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 47c9d9b..a4887c5 100644 --- a/index.js +++ b/index.js @@ -129,19 +129,19 @@ async function checkGame() { const hasRateLimit = Object.values(asfResultObj).some(result => result.status.includes('RateLimitExceeded')); if (hasRateLimit) { + console.log(`----------------------------------`); console.error("Rate limit exceeded, not marking as processed."); console.log(`Command: !addlicense ${args.bots} ${currentPack}`); console.log(`Result: ${body.Result.trim()}`); console.log(`Message: ${body.Message}`); - console.log(`----------------------------------`); await sendHookAsync("error", "Rate limit exceeded while processing package. Will retry in next run.", currentPack, asfResultObj); } else { + console.log(`----------------------------------`); console.log(`Success: License Added`); console.log(`Command: !addlicense ${args.bots} ${currentPack}`); console.log(`Result: ${body.Result.trim()}`); console.log(`Message: ${body.Message}`); console.log(`Success: ✅`); - console.log(`----------------------------------`); processedLicenses.push(currentPack); // Add to processed list saveProcessedLicenses(); // Save to file if (args.hookShowAccountStatus === "true") {