]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - data/rbot/plugins/games/hangman.rb
hangman: expand %{site} in help
[user/henk/code/ruby/rbot.git] / data / rbot / plugins / games / hangman.rb
index 2a4bf33851419867f103ad36dcd47a1f83ee1165..8255ae84a21bf64b1702262553af48f59b73019f 100644 (file)
@@ -246,7 +246,7 @@ class HangmanPlugin < Plugin
     when "play"
       return [_("hangman play on <channel> with word <word> => use in private chat with the bot to start a game with custom word\n"),
               _("hangman play random [with [max|min] length [<|>|== <length>]] => hangman with a random word from %{site}\n"),
-              _("hangman play with wordlist <wordlist> => hangman with random word from <wordlist>")].join
+              _("hangman play with wordlist <wordlist> => hangman with random word from <wordlist>")].join % { :site => RandomWord::SITE }
     when "stop"
       return _("hangman stop => quits the current game")
     when "define"