Write in grey

This commit is contained in:
Lucas Verney 2016-06-23 14:34:34 +02:00
parent 38d0c1fbc3
commit 807e297f01

View File

@ -40,10 +40,11 @@ class Ampache2IRC(irc.bot.SingleServerIRCBot):
if(self.last_seen is None or
entry.published_parsed > self.last_seen):
serv.privmsg(config.channel,
"%s (%s)" % (entry.title,
(entry.comments
.replace(config.ampache_URL, "")
.strip("/"))))
"%c%02d %s (%s)" %
(3, 14, entry.title,
(entry.comments
.replace(config.ampache_URL, "")
.strip("/"))))
self.last_seen = entry.published_parsed
def on_welcome(self, serv, ev):