forked from GitHub/dbot
merge fix
This commit is contained in:
commit
f0e079539f
4
run.js
4
run.js
@ -10,13 +10,13 @@ var DBot = function(dModules, timers) {
|
|||||||
this.db = JSON.parse(fs.readFileSync('db.json', 'utf-8'));
|
this.db = JSON.parse(fs.readFileSync('db.json', 'utf-8'));
|
||||||
|
|
||||||
this.admin = this.config.admin || 'reality';
|
this.admin = this.config.admin || 'reality';
|
||||||
this.name = this.config.name || 'depressionbot';
|
|
||||||
this.password = this.config.password || 'lolturtles';
|
this.password = this.config.password || 'lolturtles';
|
||||||
|
this.name = this.config.name || 'dbox';
|
||||||
|
|
||||||
this.timers = timers.create();
|
this.timers = timers.create();
|
||||||
this.waitingForKarma = false;
|
this.waitingForKarma = false;
|
||||||
|
|
||||||
this.instance = jsbot.createJSBot(this.name, 'elara.ivixor.net', 6667, this, this.password,
|
this.instance = jsbot.createJSBot(this.name, 'elara.ivixor.net', 6667, this,
|
||||||
function() {
|
function() {
|
||||||
if(this.config.hasOwnProperty('channels')) {
|
if(this.config.hasOwnProperty('channels')) {
|
||||||
this.config.channels.each(function(channel) {
|
this.config.channels.each(function(channel) {
|
||||||
|
Loading…
Reference in New Issue
Block a user