diff --git a/modules/badwords.js b/modules/badwords.js index bd16699..2e7ac29 100644 --- a/modules/badwords.js +++ b/modules/badwords.js @@ -46,7 +46,7 @@ var badwords = function(dbot) { 'ignorable': true }; -} +}; exports.fetch = function(dbot) { return badwords(dbot); diff --git a/run.js b/run.js index 9b78ef6..d8e93a7 100644 --- a/run.js +++ b/run.js @@ -143,6 +143,7 @@ DBot.prototype.reloadModules = function() { this.modules.push(module); } catch(err) { console.log(this.strings[this.language].module_load_error.format({'moduleName': name})); + console.log(err); } }.bind(this)); };