Update uncaughtException event

This commit is contained in:
Christer Warén 2021-12-11 23:50:13 +02:00
parent 36a7b5df63
commit 572958aea2

View File

@ -5,6 +5,7 @@ module.exports = {
console.log(error.stack);
console.log('');
if(error.name == "DiscordAPIError" && error.message == "Unknown interaction") return;
process.emit('SIGINT');
}
}