More events

This commit is contained in:
Daniel Odendahl Jr
2017-10-18 18:37:15 +00:00
parent 8507090b7f
commit 7306322bc6
3 changed files with 187 additions and 2 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ client.dispatcher.addInhibitor(msg => {
client.login(TOKEN);
// setInterval(() => process.exit(0), 8.64e+7);
// Uncomment if memory is low: setInterval(() => process.exit(0), 8.64e+7);
process.on('unhandledRejection', err => {
console.error('[FATAL] Unhandled Promise Rejection.', err);