diff --git a/run.js b/run.js index deaefa3..e8af57e 100644 --- a/run.js +++ b/run.js @@ -329,6 +329,14 @@ DBot.prototype.reloadModules = function() { this.commands[cName.substring(1)] = command; } }, this); + + _.each(this.usage, function(command, cName) { + if(cName.charAt(0) == '~') { + delete this.usage[cName]; + this.usage[cName.substring(1)] = command; + } + }, this); + }.bind(this)); this.save();