diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2006-09-25 23:11:36 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2006-09-25 23:11:36 +0000 |
commit | 12745a553e6a53a27be8a303cccb4880cc87c836 (patch) | |
tree | 5e56f4894a676801d3469c597a0a392469952475 | |
parent | a258d868c84c02ba641a5cbd91acb1b2f9c17ae1 (diff) |
Add help for ping
-rw-r--r-- | lib/rbot/core/basics.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/rbot/core/basics.rb b/lib/rbot/core/basics.rb index 4cbdaab6..f6b07e01 100644 --- a/lib/rbot/core/basics.rb +++ b/lib/rbot/core/basics.rb @@ -118,12 +118,14 @@ class BasicsModule < CoreBotModule return "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"
return "version => describes software version"
+ when "ping"
+ return "ping => replies with a pong"
# when "botsnack"
# return "botsnack => reward #{myself} for being good"
# when "hello"
# return "hello|hi|hey|yo [#{myself}] => greet the bot"
else
- return "#{name}: quit, restart, join, part, hide, save, rescan, nick, say, action, topic, quiet, talk, version"#, botsnack, hello"
+ return "#{name}: quit, restart, join, part, hide, save, rescan, nick, say, action, topic, quiet, talk, version, ping"#, botsnack, hello"
end
end
end
|