From: Giuseppe Bilotta Date: Sun, 18 Jul 2010 21:16:33 +0000 (+0200) Subject: hangman plugin: update a couple of messages X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=ac4c4b7f6b93fe0d33148a6630fad55812acf11b;hp=890cd1f8817a7ff8ad995d78091696429730a7c7;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git hangman plugin: update a couple of messages It's 'hangman define' now, and we should only use one prefix in the example command --- diff --git a/data/rbot/plugins/games/hangman.rb b/data/rbot/plugins/games/hangman.rb index 535d1990..5cef596e 100644 --- a/data/rbot/plugins/games/hangman.rb +++ b/data/rbot/plugins/games/hangman.rb @@ -248,7 +248,7 @@ class HangmanPlugin < Plugin when "stop" return _("hangman stop => quits the current game") when "define" - return _("define => seeks a definition for the previous answer using google") + return _("hangman define => seeks a definition for the previous answer using google") else return _("hangman game plugin - topics: play, stop, define") end @@ -393,8 +393,8 @@ class HangmanPlugin < Plugin }, :nick => true if rand(5).zero? - m.reply _("wondering what that means? try ´%{prefix}define´") % { - :prefix => @bot.config['core.address_prefix'] + m.reply _("wondering what that means? try ´%{prefix}hangman define´") % { + :prefix => @bot.config['core.address_prefix'].first } end