?
Some checks are pending
ptero-push / build (push) Waiting to run

This commit is contained in:
Christopher Cookman 2025-05-08 00:57:40 -06:00
parent cea014ce9d
commit ba86017d4f

View file

@ -522,7 +522,7 @@ const handleDiscord = function (data) {
color: 0xff0000 color: 0xff0000
} }
] ]
}).then(() => { })
db.run(`DELETE FROM userAlerts WHERE userid = ? AND iemchannel = ?`, [user.id, fromChannel], (err) => { db.run(`DELETE FROM userAlerts WHERE userid = ? AND iemchannel = ?`, [user.id, fromChannel], (err) => {
if (err) { if (err) {
console.error(err.message); console.error(err.message);
@ -530,7 +530,6 @@ const handleDiscord = function (data) {
console.log(`${colors.cyan("[INFO]")} Deleted user ${user.id} from database`); console.log(`${colors.cyan("[INFO]")} Deleted user ${user.id} from database`);
}); });
}) })
})
}); });
}); });
}; };