diff options
-rw-r--r-- | data/rbot/plugins/games/wheelfortune.rb | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/data/rbot/plugins/games/wheelfortune.rb b/data/rbot/plugins/games/wheelfortune.rb index 07238cb0..dca9331a 100644 --- a/data/rbot/plugins/games/wheelfortune.rb +++ b/data/rbot/plugins/games/wheelfortune.rb @@ -42,8 +42,15 @@ class WoFQA end def announcement - ret = self.catclue << "\n" - ret << _("Letters called so far: ") << @used.join(" ") << "\n" unless @used.empty? + ret = self.catclue + if !@used.empty? + ret << _(" [Letters called so far: %{red}%{letters}%{nocolor}]") % { + :red => Irc.color(:red), + :letters => @used.join(" "), + :nocolor => Irc.color() + } + end + ret << "\n" ret << @hint.join end |