boldify track/artist in !np output
This commit is contained in:
parent
177f029c07
commit
90baf17d10
1 changed files with 4 additions and 5 deletions
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue