summaryrefslogtreecommitdiff
path: root/data/rbot
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2010-07-18 23:16:33 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2010-07-18 23:16:33 +0200
commitac4c4b7f6b93fe0d33148a6630fad55812acf11b (patch)
tree1dc660cfc95ed49fbdaffeb9386f771f98603ce4 /data/rbot
parent890cd1f8817a7ff8ad995d78091696429730a7c7 (diff)
hangman plugin: update a couple of messages
It's 'hangman define' now, and we should only use one prefix in the example command
Diffstat (limited to 'data/rbot')
-rw-r--r--data/rbot/plugins/games/hangman.rb6
1 files 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