TODO note and autoshorten in automatic loading modules

This commit is contained in:
Luke Slater 2012-04-14 06:41:53 +01:00
parent 19a3d9cf87
commit c76428b1f2
2 changed files with 2 additions and 1 deletions

View File

@ -11,6 +11,7 @@ var autoshorten = function(dbot) {
if(urlMatches !== null && urlMatches[0].length > 45) {
var url = urlMatches[0]; // Only doing one, screw you.
// TODO: Make this use a decent URL shortener. Mine is shit.
var options = {
'host': 'nc.no.de',
'port': 80,

2
run.js
View File

@ -51,7 +51,7 @@ var DBot = function(timers) {
this.server = this.config.server || 'elara.ivixor.net';
this.port = this.config.port || 6667;
this.webPort = this.config.webPort || 443;
this.moduleNames = this.config.modules || [ 'command', 'js', 'admin', 'kick', 'modehate', 'quotes', 'puns', 'spelling', 'web', 'youare' ];
this.moduleNames = this.config.modules || [ 'command', 'js', 'admin', 'kick', 'modehate', 'quotes', 'puns', 'spelling', 'web', 'youare', 'autoshorten' ];
this.language = this.config.language || 'english';
this.sessionData = {};