]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
* move 'version' help to the module that actually supports the command
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sun, 2 Sep 2007 07:16:24 +0000 (07:16 +0000)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Sun, 2 Sep 2007 07:16:24 +0000 (07:16 +0000)
lib/rbot/core/basics.rb
lib/rbot/core/config.rb

index 2fbafaf7d445b15796c7f51210b271ddd1961fac..e4c74f98870f68fdbc0dd1bd7f049e22b3479e1c 100644 (file)
@@ -121,8 +121,6 @@ class BasicsModule < CoreBotModule
       _("quiet [in here|<channel>] => with no arguments, stop speaking in all channels, if \"in here\", stop speaking in this channel, or stop speaking in <channel>")\r
     when "talk"\r
       _("talk [in here|<channel>] => with no arguments, resume speaking in all channels, if \"in here\", resume speaking in this channel, or resume speaking in <channel>")\r
-    when "version"\r
-      _("version => describes software version")\r
     when "ping"\r
       _("ping => replies with a pong")\r
     when "mode"\r
@@ -132,7 +130,7 @@ class BasicsModule < CoreBotModule
     #     when "hello"\r
     #       return "hello|hi|hey|yo [#{myself}] => greet the bot"\r
     else\r
-      _("%{name}: quit, restart, join, part, hide, save, nick, say, action, topic, quiet, talk,version, ping, mode") % {:name=>name}\r
+      _("%{name}: quit, restart, join, part, hide, save, nick, say, action, topic, quiet, talk, ping, mode") % {:name=>name}\r
       #, botsnack, hello\r
     end\r
   end\r
index f042e87e1089dc1fe40923cce2dfb34a7969847b..21073c230973340a49ae8cbeecb4a4869bf94894 100644 (file)
@@ -203,8 +203,10 @@ class ConfigModule < CoreBotModule
       _("save => save current dynamic data and configuration")\r
     when "rescan"\r
       _("rescan => reload modules and static facts")\r
+    when "version"\r
+      _("version => describes software version")\r
     else\r
-      _("config-related tasks: config, save, rescan")\r
+      _("config-related tasks: config, save, rescan, version")\r
     end\r
   end\r
 \r