|
|
@@ -35,7 +35,7 @@ function KnackiBot() {
|
|
|
realName: this.name,
|
|
|
stripColors: true
|
|
|
});
|
|
|
- if (USE_NS)
|
|
|
+ if (USE_NS) {
|
|
|
var _this = this,
|
|
|
registerHandler = 0;
|
|
|
|
|
|
@@ -65,6 +65,7 @@ function KnackiBot() {
|
|
|
registerHandler = setInterval(tryRegister, 30000);
|
|
|
tryRegister();
|
|
|
});
|
|
|
+ }
|
|
|
this.bot.addListener("error", console.error);
|
|
|
this.bot.addListener("join", (chan, nick) => {
|
|
|
chan = chan.toLowerCase();
|