From: Giuseppe Bilotta Date: Tue, 18 Sep 2007 06:15:52 +0000 (+0000) Subject: basics: it's @bot.myself, not just myself X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=b1debac35f5e45545066da07027ddaaf6c9faca7;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git basics: it's @bot.myself, not just myself --- diff --git a/lib/rbot/core/basics.rb b/lib/rbot/core/basics.rb index e4c74f98..4b5ab7d3 100644 --- a/lib/rbot/core/basics.rb +++ b/lib/rbot/core/basics.rb @@ -106,7 +106,7 @@ class BasicsModule < CoreBotModule when "restart" _("restart => completely stop and restart the bot (including reconnect)") when "join" - _("join [] => join channel with secret key if specified. #{myself} also responds to invites if you have the required access level") + _("join [] => join channel with secret key if specified. #{@bot.myself} also responds to invites if you have the required access level") when "part" _("part => part channel ") when "hide" @@ -126,9 +126,9 @@ class BasicsModule < CoreBotModule when "mode" _("mode => set channel modes for on to ") # when "botsnack" - # return "botsnack => reward #{myself} for being good" + # return "botsnack => reward #{@bot.myself} for being good" # when "hello" - # return "hello|hi|hey|yo [#{myself}] => greet the bot" + # return "hello|hi|hey|yo [#{@bot.myself}] => greet the bot" else _("%{name}: quit, restart, join, part, hide, save, nick, say, action, topic, quiet, talk, ping, mode") % {:name=>name} #, botsnack, hello