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

load js module by default

This commit is contained in:
Luke Slater 2011-12-21 15:33:45 +00:00
parent d46294c576
commit a16ed7e7dd

2
run.js
View File

@ -3,7 +3,7 @@ var timers = require('./timer');
var jsbot = require('./jsbot');
require('./snippets');
var modules = [ 'admin', 'karma', 'kick', 'modehate', 'quotes', 'puns', 'spelling', 'user', 'web', 'youare' ];
var modules = [ 'js', 'admin', 'karma', 'kick', 'modehate', 'quotes', 'puns', 'spelling', 'user', 'web', 'youare' ];
var DBot = function(dModules, timers) {
this.config = JSON.parse(fs.readFileSync('config.json', 'utf-8'));