forked from GitHub/dbot
herp fix
This commit is contained in:
parent
e0dee27658
commit
b9d7ff19ed
6
run.js
6
run.js
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user