3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-23 20:39:25 +01:00

Remove from general population for a bit. test ondestroy

This commit is contained in:
Luke Slater 2011-09-14 17:28:00 +01:00
parent 36874ac3e6
commit 0f0e935c36
2 changed files with 1 additions and 4 deletions

View File

@ -19,6 +19,7 @@ var webInterface = function(dbot) {
return {
'onDestroy': function() {
console.log('on destroy');
process.exit();
}
};

4
run.js
View File

@ -14,10 +14,6 @@ var DBot = function(dModules, timers) {
this.instance = jsbot.createJSBot(this.name, 'elara.ivixor.net', 6667, this, function() {
this.instance.join('#realitest');
this.instance.join('#fail');
this.instance.join('#42');
this.instance.join('#itonlygetsworse');
this.instance.join('#plur');
}.bind(this));
this.moduleNames = dModules;