Skip to content

Commit

Permalink
Exit script after fetching config (test)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeto143 committed Mar 1, 2024
1 parent c0fdfaa commit a32be80
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions 5m5v-bot.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ try {
throw `Unable to load config file: ${error.message}`;
}

process.exit();

const languages = config.users.map(user => user.language);
const pollingIntervalMs = 40 * 1000;
const retweetDelayMs = config.delaytime || 2 * 60 * 1000;
Expand Down

0 comments on commit a32be80

Please sign in to comment.