From: Giuseppe Bilotta Date: Wed, 16 Dec 2009 22:38:01 +0000 (+0100) Subject: hangman: expand %{site} in help X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=1a44fec776e7a299fe4f38298b9a47b443285b3a;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git hangman: expand %{site} in help --- diff --git a/data/rbot/plugins/games/hangman.rb b/data/rbot/plugins/games/hangman.rb index 2a4bf338..8255ae84 100644 --- a/data/rbot/plugins/games/hangman.rb +++ b/data/rbot/plugins/games/hangman.rb @@ -246,7 +246,7 @@ class HangmanPlugin < Plugin when "play" return [_("hangman play on with word => use in private chat with the bot to start a game with custom word\n"), _("hangman play random [with [max|min] length [<|>|== ]] => hangman with a random word from %{site}\n"), - _("hangman play with wordlist => hangman with random word from ")].join + _("hangman play with wordlist => hangman with random word from ")].join % { :site => RandomWord::SITE } when "stop" return _("hangman stop => quits the current game") when "define"