From ac4c4b7f6b93fe0d33148a6630fad55812acf11b Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Sun, 18 Jul 2010 23:16:33 +0200 Subject: hangman plugin: update a couple of messages It's 'hangman define' now, and we should only use one prefix in the example command --- data/rbot/plugins/games/hangman.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 -- cgit v1.2.3