From 36aae7cad1641c1eaf1fb587ef0d88b79615dba5 Mon Sep 17 00:00:00 2001 From: reality Date: Sat, 24 Aug 2013 23:11:34 +0000 Subject: [PATCH] timer --- modules/admin/commands.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/admin/commands.js b/modules/admin/commands.js index 52c5284..5d4a730 100644 --- a/modules/admin/commands.js +++ b/modules/admin/commands.js @@ -282,7 +282,9 @@ var commands = function(dbot) { '~die': function(event) { event.reply('BRB coconut hunting...'); - process.exit(0); + setTimeout(3000, function() { + process.exit(0); + }); } };