boldify track/artist in !np output

This commit is contained in:
jesopo 2019-11-15 16:34:28 +00:00
parent 177f029c07
commit 90baf17d10

View file

@ -87,11 +87,10 @@ class Module(ModuleManager.BaseModule):
play_count = " (%d play%s)" % (play_count, play_count = " (%d play%s)" % (play_count,
"s" if play_count > 1 else "") "s" if play_count > 1 else "")
event["stdout"].write( track = utils.irc.bold("%s - %s" % (artist, track_name))
"%s %s: %s - %s%s%s%s" % (
shown_username, time_language, artist, track_name, event["stdout"].write("%s %s: %s%s%s%s" % (
play_count, shown_username, time_language, track, play_count, tags,
tags,
short_url)) short_url))
else: else:
event["stderr"].write( event["stderr"].write(