diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rbot/core/config.rb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/rbot/core/config.rb b/lib/rbot/core/config.rb index 1c0263ec..43d08829 100644 --- a/lib/rbot/core/config.rb +++ b/lib/rbot/core/config.rb @@ -263,11 +263,13 @@ class ConfigModule < CoreBotModule when "save" _("save => save current dynamic data and configuration") when "rescan" - _("rescan => reload modules and static facts") + _("rescan [<botmodule>] => reload specified or all botmodules and static facts") + when "reload" + _("reload [<botmodule>] => reload specified or all botmodules and static facts") when "version" _("version => describes software version") else - _("config-related tasks: config, save, rescan, version, nick, status") + _("config-related tasks: config, save, rescan(/reload), version, nick, status") end end @@ -299,6 +301,8 @@ conf.map "save", :action => 'bot_save' conf.map "rescan [:botmodule]", :action => 'bot_rescan' +conf.map "reload [:botmodule]", + :action => 'bot_rescan' conf.map "nick :nick", :action => 'bot_nick' conf.map "status", |