Skip to content

Commit

Permalink
style(console-logs): Change these from being at the bottom to the top.
Browse files Browse the repository at this point in the history
  • Loading branch information
JourneyOver committed Feb 13, 2025
1 parent 8664cd8 commit 10387c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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") {
Expand Down

0 comments on commit 10387c5

Please sign in to comment.