This commit is contained in:
Luke Slater 2011-10-31 17:09:41 +00:00
parent e0dee27658
commit b9d7ff19ed

6
run.js
View File

@ -6,10 +6,8 @@ require('./snippets');
var modules = ['spelling', 'web', 'modehate', 'user', 'admin', 'puns', 'kick', 'karma', 'youare', 'quotes']; var modules = ['spelling', 'web', 'modehate', 'user', 'admin', 'puns', 'kick', 'karma', 'youare', 'quotes'];
var DBot = function(dModules, timers) { var DBot = function(dModules, timers) {
this.config = fs.readFileSync('conf.json', 'utf-8'); this.admin = 'reality';
this.name = 'depressionbot';
this.admin = this.config.admin;
this.name = this.config.username;
this.db = JSON.parse(fs.readFileSync('db.json', 'utf-8')); this.db = JSON.parse(fs.readFileSync('db.json', 'utf-8'));
this.timers = timers.create(); this.timers = timers.create();