From f664ba5e5f518a607fbc18c0acecbf172dc05dbc Mon Sep 17 00:00:00 2001 From: reality Date: Sat, 24 Aug 2013 23:06:53 +0000 Subject: [PATCH] lol --- modules/admin/commands.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/modules/admin/commands.js b/modules/admin/commands.js index 6027453..52c5284 100644 --- a/modules/admin/commands.js +++ b/modules/admin/commands.js @@ -1,6 +1,7 @@ var fs = require('fs'), _ = require('underscore')._, sys = require('sys'), + process = require('process'), exec = require('child_process').exec; var commands = function(dbot) { @@ -277,6 +278,11 @@ var commands = function(dbot) { event.reply(dbot.t('modules_saved', { 'modules': _.keys(dbot.modules) })); }); }); + }, + + '~die': function(event) { + event.reply('BRB coconut hunting...'); + process.exit(0); } };