From 7205060ebc35daf26a22ff6453b4faef477aaca7 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Sun, 2 Sep 2007 07:16:24 +0000 Subject: * move 'version' help to the module that actually supports the command --- lib/rbot/core/basics.rb | 4 +--- lib/rbot/core/config.rb | 4 +++- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'lib') diff --git a/lib/rbot/core/basics.rb b/lib/rbot/core/basics.rb index 2fbafaf7..e4c74f98 100644 --- a/lib/rbot/core/basics.rb +++ b/lib/rbot/core/basics.rb @@ -121,8 +121,6 @@ class BasicsModule < CoreBotModule _("quiet [in here|] => with no arguments, stop speaking in all channels, if \"in here\", stop speaking in this channel, or stop speaking in ") when "talk" _("talk [in here|] => with no arguments, resume speaking in all channels, if \"in here\", resume speaking in this channel, or resume speaking in ") - when "version" - _("version => describes software version") when "ping" _("ping => replies with a pong") when "mode" @@ -132,7 +130,7 @@ class BasicsModule < CoreBotModule # when "hello" # return "hello|hi|hey|yo [#{myself}] => greet the bot" else - _("%{name}: quit, restart, join, part, hide, save, nick, say, action, topic, quiet, talk,version, ping, mode") % {:name=>name} + _("%{name}: quit, restart, join, part, hide, save, nick, say, action, topic, quiet, talk, ping, mode") % {:name=>name} #, botsnack, hello end end diff --git a/lib/rbot/core/config.rb b/lib/rbot/core/config.rb index f042e87e..21073c23 100644 --- a/lib/rbot/core/config.rb +++ b/lib/rbot/core/config.rb @@ -203,8 +203,10 @@ class ConfigModule < CoreBotModule _("save => save current dynamic data and configuration") when "rescan" _("rescan => reload modules and static facts") + when "version" + _("version => describes software version") else - _("config-related tasks: config, save, rescan") + _("config-related tasks: config, save, rescan, version") end end -- cgit v1.2.3