diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2010-07-03 00:09:08 +0200 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2010-07-03 01:14:04 +0200 |
commit | 230c73a84b2e8b2c5982d2be2d287f1a5c65ef7a (patch) | |
tree | d3517180765debb58935b038c016f84912beb823 /data/rbot/plugins/games | |
parent | e35798356b89ba49809f5621ccce9fd5bb447b95 (diff) |
hangmang plugin: rename 'define' to 'hangman define'
Diffstat (limited to 'data/rbot/plugins/games')
-rw-r--r-- | data/rbot/plugins/games/hangman.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/data/rbot/plugins/games/hangman.rb b/data/rbot/plugins/games/hangman.rb index 8255ae84..535d1990 100644 --- a/data/rbot/plugins/games/hangman.rb +++ b/data/rbot/plugins/games/hangman.rb @@ -241,8 +241,6 @@ class HangmanPlugin < Plugin def help(plugin, topic="") case topic - when "" - return _("hangman game plugin - topics: play, stop") 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"), @@ -251,6 +249,8 @@ class HangmanPlugin < Plugin return _("hangman stop => quits the current game") when "define" return _("define => seeks a definition for the previous answer using google") + else + return _("hangman game plugin - topics: play, stop, define") end end @@ -496,4 +496,4 @@ plugin.map "hangman stop", :action => 'stop' plugin.map "hangman score [:nick]", :action => 'score' plugin.map "hangman stats", :action => 'stats' -plugin.map "define", :action => 'define' +plugin.map "hangman define", :action => 'define' |