From e75251b3f9c14b5c90d7143306d164310f0b930c Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Sun, 13 Aug 2017 00:44:54 +0000 Subject: [PATCH] Tiny Cycling System --- XiaoBot.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/XiaoBot.js b/XiaoBot.js index c54cf773..28fcc947 100644 --- a/XiaoBot.js +++ b/XiaoBot.js @@ -110,6 +110,8 @@ client.on('guildDelete', async guild => { dBotsOrg(count, client.user.id); }); +client.setTimeout(() => process.exit(0), 7200000); + client.login(token); process.on('unhandledRejection', console.error);