mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 22:39:26 +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 {
|
return {
|
||||||
'onDestroy': function() {
|
'onDestroy': function() {
|
||||||
|
console.log('on destroy');
|
||||||
process.exit();
|
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 = jsbot.createJSBot(this.name, 'elara.ivixor.net', 6667, this, function() {
|
||||||
this.instance.join('#realitest');
|
this.instance.join('#realitest');
|
||||||
this.instance.join('#fail');
|
|
||||||
this.instance.join('#42');
|
|
||||||
this.instance.join('#itonlygetsworse');
|
|
||||||
this.instance.join('#plur');
|
|
||||||
}.bind(this));
|
}.bind(this));
|
||||||
|
|
||||||
this.moduleNames = dModules;
|
this.moduleNames = dModules;
|
||||||
|
Loading…
Reference in New Issue
Block a user