diff --git a/config.json.sample b/config.json.sample index 532460a..05c37a4 100644 --- a/config.json.sample +++ b/config.json.sample @@ -13,7 +13,7 @@ }, "admins": [ "batman" ], "moderators": [ "whatever" ], - "moduleNames": [ "ignore", "admin", "command", "dice", "js", "kick", "quotes", "spelling", "youare" ], + "moduleNames": [ "ignore", "admin", "command", "dice", "js", "kick", "quotes", "spelling", "youare", "stats", "users" ], "language": "english", "debugMode": true } diff --git a/jsbot b/jsbot index cf62909..9477dc3 160000 --- a/jsbot +++ b/jsbot @@ -1 +1 @@ -Subproject commit cf6290902cfed0c8d698ce64df2ae0ae0a64b9f2 +Subproject commit 9477dc33ff1b940f8c07225f00d0648de2a41cb4 diff --git a/modules/web/README.md b/modules/web/README.md index 86ebc10..c00af25 100644 --- a/modules/web/README.md +++ b/modules/web/README.md @@ -7,6 +7,23 @@ Web interface It's a web interface for DBot. What of it? ## Requirements +###Express and Jade@0.25 +``` +npm install express +npm install jade@0.25 +``` +###Express Patch +Express currently needs to be patched, edit ~/node_modules/express/lib/express.js as thus; +``` + 52 for (var key in connect.middleware) { +**53 if( !Object.prototype.hasOwnProperty(key) ) { + 54 Object.defineProperty( + 55 exports + 56 , key + 57 , Object.getOwnPropertyDescriptor(connect.middleware, key)); +**58 } + 59 } +``` ###Twitter Bootstrap ``` cd depressionbot/public/