diff options
author | Simon Hafner <hafnersimon@gmail.com> | 2009-01-21 16:02:08 +0100 |
---|---|---|
committer | dmitry kim <jason@nichego.net> | 2009-01-22 02:26:24 +0300 |
commit | ec5745fa7abd47b8ca12bd783b0759079dff9917 (patch) | |
tree | f6e0f629e285f843101f3dfe5cae80df73e0c5d0 /data/rbot/plugins/games | |
parent | 35cc0ef69af6344db8a36c733207241594bbd402 (diff) |
* (plugins) changed to the new reply schema (:nick)
Diffstat (limited to 'data/rbot/plugins/games')
-rw-r--r-- | data/rbot/plugins/games/uno.rb | 2 | ||||
-rw-r--r-- | data/rbot/plugins/games/wheelfortune.rb | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/data/rbot/plugins/games/uno.rb b/data/rbot/plugins/games/uno.rb index dc8de03e..5b2593ee 100644 --- a/data/rbot/plugins/games/uno.rb +++ b/data/rbot/plugins/games/uno.rb @@ -941,7 +941,7 @@ class UnoPlugin < Plugin when :tu # show whose turn is it return if m.params if g.has_turn?(m.source) - m.nickreply _("it's your turn, sleepyhead") + m.reply _("it's your turn, sleepyhead"), :nick => true else g.show_turn(:cards => false) end diff --git a/data/rbot/plugins/games/wheelfortune.rb b/data/rbot/plugins/games/wheelfortune.rb index 4c1a48f0..7e818953 100644 --- a/data/rbot/plugins/games/wheelfortune.rb +++ b/data/rbot/plugins/games/wheelfortune.rb @@ -476,9 +476,7 @@ class WheelOfFortune < Plugin # m.reply "STUPID! YOU SO STUPID!" return when *game.must_buy - m.nickreply _("You must buy the %{vowel}") % { - :vowel => check - } + m.reply _("You must buy the %{vowel}") % {:vowel => check}, :nick => true when :wrong return when Numeric, :missing |