fix: keep process alive after initialization for continuous operation

This commit is contained in:
unfunny
2026-09-13 01:02:47 -04:00
parent addf5075c0
commit aa6c321b73

View File

@@ -69,6 +69,10 @@ loadQuotes().then((quotes) => {
});
}
});
// Keep process alive with periodic heartbeat
setInterval(() => {}, 1000 * 60); // Heartbeat every minute
console.log('Bot is running. Press Ctrl+C to exit.');
}).catch(err => {
console.error('Failed to load quotes:', err.message);
});