forked from GitHub/dbot
webPort default
This commit is contained in:
parent
13892f3a1f
commit
4a1d5aa083
@ -1,9 +1,6 @@
|
|||||||
var express = require('express');
|
var express = require('express');
|
||||||
|
|
||||||
// Web interface module using the express framework
|
|
||||||
var webInterface = function(dbot) {
|
var webInterface = function(dbot) {
|
||||||
var dbot = dbot;
|
|
||||||
|
|
||||||
var pub = 'public';
|
var pub = 'public';
|
||||||
var app = express.createServer();
|
var app = express.createServer();
|
||||||
|
|
||||||
|
1
run.js
1
run.js
@ -55,6 +55,7 @@ var DBot = function(timers) {
|
|||||||
this.admin = this.config.admin || [ 'reality' ];
|
this.admin = this.config.admin || [ 'reality' ];
|
||||||
this.moduleNames = this.config.modules || [ 'ignore', 'admin', 'command', 'dice', 'js', 'kick', 'puns', 'quotes', 'spelling', 'youare' ];
|
this.moduleNames = this.config.modules || [ 'ignore', 'admin', 'command', 'dice', 'js', 'kick', 'puns', 'quotes', 'spelling', 'youare' ];
|
||||||
this.language = this.config.language || 'english';
|
this.language = this.config.language || 'english';
|
||||||
|
this.webPort = this.config.webPort || 80;
|
||||||
|
|
||||||
// It's the user's responsibility to fill this data structure up properly in
|
// It's the user's responsibility to fill this data structure up properly in
|
||||||
// the config file. They can d-d-d-deal with it if they have problems.
|
// the config file. They can d-d-d-deal with it if they have problems.
|
||||||
|
Loading…
Reference in New Issue
Block a user