3
0
mirror of https://github.com/reality/dbot.git synced 2024-12-28 05:32:50 +01:00
This commit is contained in:
reality 2013-08-24 23:06:53 +00:00
parent 103407634d
commit f664ba5e5f

View File

@ -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);
}
};