From e775f4cd36d601f14bcaaa7d37655fcae58feb1c Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Sat, 5 Jul 2008 00:10:56 +0200 Subject: lastfm plugin: quoting sux, bolding rox --- data/rbot/plugins/lastfm.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/rbot/plugins/lastfm.rb b/data/rbot/plugins/lastfm.rb index 44a265bd..74582761 100644 --- a/data/rbot/plugins/lastfm.rb +++ b/data/rbot/plugins/lastfm.rb @@ -277,7 +277,7 @@ class LastFmPlugin < Plugin playcount = first.elements["stats"].elements["plays"].text listeners = first.elements["stats"].elements["listeners"].text summary = first.elements["bio"].elements["summary"].text - m.reply _("\"%{a}\" has been played %{c} times and is being listened to by %{l} people.") % {:a => artist, :c => playcount, :l => listeners} + m.reply _("%{b}%{a}%{b} has been played %{c} times and is being listened to by %{l} people.") % {:b => Bold, :a => artist, :c => playcount, :l => listeners} m.reply summary.ircify_html end -- cgit v1.2.3