Remove startup task
Some checks are pending
ptero-push / build (push) Waiting to run

This commit is contained in:
Christopher Cookman 2025-05-07 23:59:13 -06:00
parent ef4641d5dd
commit 5d58204f2c

View file

@ -717,13 +717,13 @@ discord.on('ready', async () => {
} }
})(); })();
setTimeout(() => { // setTimeout(() => {
// Wait 10 seconds, if startup is still true, something went wrong // // Wait 10 seconds, if startup is still true, something went wrong
if (startup) { // if (startup) {
console.log(`${colors.red("[ERROR]")} Startup failed, exiting...`); // console.log(`${colors.red("[ERROR]")} Startup failed, exiting...`);
process.exit(1); // process.exit(1);
} // }
}, 10000) // }, 10000)
// Check all channels in DB, fetch them, if they dont exist, delete all subscriptions // Check all channels in DB, fetch them, if they dont exist, delete all subscriptions
db.all(`SELECT channelid FROM channels`, (err, rows) => { db.all(`SELECT channelid FROM channels`, (err, rows) => {