From aa6c321b7383abfbf84fd99b0389b650fa9bd79d Mon Sep 17 00:00:00 2001 From: unfunny Date: Sun, 13 Sep 2026 01:02:47 -0400 Subject: [PATCH] fix: keep process alive after initialization for continuous operation --- index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/index.js b/index.js index 4d56cb9..115f638 100644 --- a/index.js +++ b/index.js @@ -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); });