From 90baf17d107c77372c1accc818762570a355faac Mon Sep 17 00:00:00 2001 From: jesopo Date: Fri, 15 Nov 2019 16:34:28 +0000 Subject: [PATCH] boldify track/artist in !np output --- modules/lastfm.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/modules/lastfm.py b/modules/lastfm.py index 8078dc54..9c18db14 100644 --- a/modules/lastfm.py +++ b/modules/lastfm.py @@ -87,11 +87,10 @@ class Module(ModuleManager.BaseModule): play_count = " (%d play%s)" % (play_count, "s" if play_count > 1 else "") - event["stdout"].write( - "%s %s: %s - %s%s%s%s" % ( - shown_username, time_language, artist, track_name, - play_count, - tags, + track = utils.irc.bold("%s - %s" % (artist, track_name)) + + event["stdout"].write("%s %s: %s%s%s%s" % ( + shown_username, time_language, track, play_count, tags, short_url)) else: event["stderr"].write(