]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
basics: it's @bot.myself, not just myself
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Tue, 18 Sep 2007 06:15:52 +0000 (06:15 +0000)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Tue, 18 Sep 2007 06:15:52 +0000 (06:15 +0000)
lib/rbot/core/basics.rb

index e4c74f98870f68fdbc0dd1bd7f049e22b3479e1c..4b5ab7d391ef526f6446a9db597a6ba7aa2761a8 100644 (file)
@@ -106,7 +106,7 @@ class BasicsModule < CoreBotModule
     when "restart"\r
       _("restart => completely stop and restart the bot (including reconnect)")\r
     when "join"\r
-      _("join <channel> [<key>] => join channel <channel> with secret key <key> if specified. #{myself} also responds to invites if you have the required access level")\r
+      _("join <channel> [<key>] => join channel <channel> with secret key <key> if specified. #{@bot.myself} also responds to invites if you have the required access level")\r
     when "part"\r
       _("part <channel> => part channel <channel>")\r
     when "hide"\r
@@ -126,9 +126,9 @@ class BasicsModule < CoreBotModule
     when "mode"\r
       _("mode <channel> <mode> <nicks> => set channel modes for <nicks> on <channel> to <mode>")\r
     #     when "botsnack"\r
-    #       return "botsnack => reward #{myself} for being good"\r
+    #       return "botsnack => reward #{@bot.myself} for being good"\r
     #     when "hello"\r
-    #       return "hello|hi|hey|yo [#{myself}] => greet the bot"\r
+    #       return "hello|hi|hey|yo [#{@bot.myself}] => greet the bot"\r
     else\r
       _("%{name}: quit, restart, join, part, hide, save, nick, say, action, topic, quiet, talk, ping, mode") % {:name=>name}\r
       #, botsnack, hello\r