mirror of
https://github.com/cassoule/flopobot_v2.git
synced 2026-03-18 21:40:27 +01:00
hop
This commit is contained in:
@@ -124,9 +124,9 @@ export function setupCronJobs(client, io) {
|
||||
try {
|
||||
resetDailyReward.run();
|
||||
console.log('[Cron] Daily rewards have been reset for all users.');
|
||||
if (!getSOTD.get()) {
|
||||
initTodaysSOTD();
|
||||
}
|
||||
//if (!getSOTD.get()) {
|
||||
initTodaysSOTD();
|
||||
//}
|
||||
} catch (e) {
|
||||
console.error('[Cron] Error during daily reset:', e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user