summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-09-02 07:16:24 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-09-02 07:16:24 +0000
commit7205060ebc35daf26a22ff6453b4faef477aaca7 (patch)
tree629a043fbe6801be89a2004c97f95abfa08959f9 /lib
parenta38462074a633a315cbf0ebc169ed1a9a9f86854 (diff)
* move 'version' help to the module that actually supports the command
Diffstat (limited to 'lib')
-rw-r--r--lib/rbot/core/basics.rb4
-rw-r--r--lib/rbot/core/config.rb4
2 files changed, 4 insertions, 4 deletions
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|<channel>] => with no arguments, stop speaking in all channels, if \"in here\", stop speaking in this channel, or stop speaking in <channel>")
when "talk"
_("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>")
- 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