From 5d58204f2c073a90fa83724b0978ef00a6e6a312 Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Wed, 7 May 2025 23:59:13 -0600 Subject: [PATCH] Remove startup task --- index.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/index.js b/index.js index fdf27db..6952b98 100644 --- a/index.js +++ b/index.js @@ -717,13 +717,13 @@ discord.on('ready', async () => { } })(); - setTimeout(() => { - // Wait 10 seconds, if startup is still true, something went wrong - if (startup) { - console.log(`${colors.red("[ERROR]")} Startup failed, exiting...`); - process.exit(1); - } - }, 10000) + // setTimeout(() => { + // // Wait 10 seconds, if startup is still true, something went wrong + // if (startup) { + // console.log(`${colors.red("[ERROR]")} Startup failed, exiting...`); + // process.exit(1); + // } + // }, 10000) // Check all channels in DB, fetch them, if they dont exist, delete all subscriptions db.all(`SELECT channelid FROM channels`, (err, rows) => {