mirror of
https://github.com/reality/dbot.git
synced 2024-12-24 19:52:36 +01:00
TODO note and autoshorten in automatic loading modules
This commit is contained in:
parent
19a3d9cf87
commit
c76428b1f2
@ -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
2
run.js
@ -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 = {};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user