3
0
mirror of https://github.com/reality/dbot.git synced 2024-11-27 14:29:29 +01:00

usual name and channels again

This commit is contained in:
Luke Slater 2011-09-04 15:40:51 +01:00
parent 54746625fd
commit 033aac8240

5
run.js
View File

@ -8,12 +8,15 @@ var modules = ['user', 'admin', 'puns', 'kick', 'reality', 'karma', 'youare', 'q
var DBot = function(dModules, timers) {
this.admin = 'reality';
this.waitingForKarma = false;
this.name = 'testressionbot';
this.name = 'deressionbot';
this.db = JSON.parse(fs.readFileSync('db.json', 'utf-8'));
this.timers = timers.create();
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');
}.bind(this));
this.moduleNames = dModules;