From 807e297f011881f651e5b9c4d20aeffa0c3f396a Mon Sep 17 00:00:00 2001 From: "Phyks (Lucas Verney)" Date: Thu, 23 Jun 2016 14:34:34 +0200 Subject: [PATCH] Write in grey --- ampache2irc.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ampache2irc.py b/ampache2irc.py index 2a0ab9c..05ee02f 100755 --- a/ampache2irc.py +++ b/ampache2irc.py @@ -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):