diff --git a/modules/ignore/config.json b/modules/ignore/config.json new file mode 100644 index 0000000..7a4c116 --- /dev/null +++ b/modules/ignore/config.json @@ -0,0 +1,3 @@ +{ + "dbKeys": [ "ignores" ] +} diff --git a/run.js b/run.js index fec9441..8a1087d 100644 --- a/run.js +++ b/run.js @@ -122,7 +122,6 @@ DBot.prototype.reloadModules = function() { this.commandMap = {}; // Map of which commands belong to which modules this.usage = {}; this.timers.clearTimers(); - this.save(); try { this.strings = JSON.parse(fs.readFileSync('strings.json', 'utf-8')); @@ -211,7 +210,7 @@ DBot.prototype.reloadModules = function() { try { var config = JSON.parse(fs.readFileSync(moduleDir + 'config.json', 'utf-8')) this.config[name] = config; - for(var i=0;i