mirror of
https://github.com/reality/dbot.git
synced 2024-12-28 05:32:50 +01:00
lol
This commit is contained in:
parent
103407634d
commit
f664ba5e5f
@ -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);
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user