From b1debac35f5e45545066da07027ddaaf6c9faca7 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Tue, 18 Sep 2007 06:15:52 +0000 Subject: basics: it's @bot.myself, not just myself --- lib/rbot/core/basics.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') 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 -- cgit v1.2.3