]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
Add help for ping
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Mon, 25 Sep 2006 23:11:36 +0000 (23:11 +0000)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Mon, 25 Sep 2006 23:11:36 +0000 (23:11 +0000)
lib/rbot/core/basics.rb

index 4cbdaab6cf9c590e61744336deabad60f4162dac..f6b07e01f2a6bc1b5e53ce17781947201f8d74b5 100644 (file)
@@ -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>"\r
     when "version"\r
       return "version => describes software version"\r
+    when "ping"\r
+      return "ping => replies with a pong"\r
     #     when "botsnack"\r
     #       return "botsnack => reward #{myself} for being good"\r
     #     when "hello"\r
     #       return "hello|hi|hey|yo [#{myself}] => greet the bot"\r
     else\r
-      return "#{name}: quit, restart, join, part, hide, save, rescan, nick, say, action, topic, quiet, talk, version"#, botsnack, hello"\r
+      return "#{name}: quit, restart, join, part, hide, save, rescan, nick, say, action, topic, quiet, talk, version, ping"#, botsnack, hello"\r
     end\r
   end\r
 end\r