From ec5745fa7abd47b8ca12bd783b0759079dff9917 Mon Sep 17 00:00:00 2001 From: Simon Hafner Date: Wed, 21 Jan 2009 16:02:08 +0100 Subject: * (plugins) changed to the new reply schema (:nick) --- data/rbot/plugins/games/uno.rb | 2 +- data/rbot/plugins/games/wheelfortune.rb | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'data/rbot/plugins/games') 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 -- cgit v1.2.3