From 8507090b7fa085092def221bf59acb91dbc21082 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Wed, 18 Oct 2017 13:37:45 +0000 Subject: [PATCH] Remove Restart - we may not need it --- XiaoBot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/XiaoBot.js b/XiaoBot.js index 770f35e1..7d161ea5 100644 --- a/XiaoBot.js +++ b/XiaoBot.js @@ -71,7 +71,7 @@ client.dispatcher.addInhibitor(msg => { client.login(TOKEN); -setInterval(() => process.exit(0), 8.64e+7); +// setInterval(() => process.exit(0), 8.64e+7); process.on('unhandledRejection', err => { console.error('[FATAL] Unhandled Promise Rejection.', err);