mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 14:29:29 +01:00
Nobody loves autoshorten. Removed poll from default module list.
This commit is contained in:
parent
78837f9da1
commit
7ab477b448
@ -19,7 +19,7 @@ var autoshorten = function(dbot) {
|
||||
|
||||
// TODO: Make this use a decent URL shortener. Mine is shit.
|
||||
var options = {
|
||||
'host': dbot.webUrl,
|
||||
'host': dbot.webHost,
|
||||
'port': dbot.webPort,
|
||||
'path': '/mkurl?url=' + escape(url)
|
||||
};
|
||||
|
2
run.js
2
run.js
@ -56,7 +56,7 @@ var DBot = function(timers) {
|
||||
// Populate bot properties with config data
|
||||
this.name = this.config.name || 'dbox';
|
||||
this.admin = this.config.admin || [ 'reality' ];
|
||||
this.moduleNames = this.config.modules || [ 'ignore', 'admin', 'command', 'dice', 'js', 'kick', 'puns', 'quotes', 'spelling', 'youare', 'poll' ];
|
||||
this.moduleNames = this.config.modules || [ 'ignore', 'admin', 'command', 'dice', 'js', 'kick', 'puns', 'quotes', 'spelling', 'youare' ];
|
||||
this.language = this.config.language || 'english';
|
||||
this.webHost = this.config.webHost || 'localhost';
|
||||
this.webPort = this.config.webPort || 80;
|
||||
|
Loading…
Reference in New Issue
Block a user