mirror of
https://github.com/reality/dbot.git
synced 2024-12-24 19:52:36 +01:00
Remove from general population for a bit. test ondestroy
This commit is contained in:
parent
36874ac3e6
commit
0f0e935c36
@ -19,6 +19,7 @@ var webInterface = function(dbot) {
|
||||
|
||||
return {
|
||||
'onDestroy': function() {
|
||||
console.log('on destroy');
|
||||
process.exit();
|
||||
}
|
||||
};
|
||||
|
4
run.js
4
run.js
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user