mirror of
https://github.com/reality/dbot.git
synced 2024-11-30 16:09:27 +01:00
lol
This commit is contained in:
parent
103407634d
commit
f664ba5e5f
@ -1,6 +1,7 @@
|
|||||||
var fs = require('fs'),
|
var fs = require('fs'),
|
||||||
_ = require('underscore')._,
|
_ = require('underscore')._,
|
||||||
sys = require('sys'),
|
sys = require('sys'),
|
||||||
|
process = require('process'),
|
||||||
exec = require('child_process').exec;
|
exec = require('child_process').exec;
|
||||||
|
|
||||||
var commands = function(dbot) {
|
var commands = function(dbot) {
|
||||||
@ -277,6 +278,11 @@ var commands = function(dbot) {
|
|||||||
event.reply(dbot.t('modules_saved', { 'modules': _.keys(dbot.modules) }));
|
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