Write in grey
This commit is contained in:
parent
38d0c1fbc3
commit
807e297f01
@ -40,10 +40,11 @@ class Ampache2IRC(irc.bot.SingleServerIRCBot):
|
|||||||
if(self.last_seen is None or
|
if(self.last_seen is None or
|
||||||
entry.published_parsed > self.last_seen):
|
entry.published_parsed > self.last_seen):
|
||||||
serv.privmsg(config.channel,
|
serv.privmsg(config.channel,
|
||||||
"%s (%s)" % (entry.title,
|
"%c%02d %s (%s)" %
|
||||||
(entry.comments
|
(3, 14, entry.title,
|
||||||
.replace(config.ampache_URL, "")
|
(entry.comments
|
||||||
.strip("/"))))
|
.replace(config.ampache_URL, "")
|
||||||
|
.strip("/"))))
|
||||||
self.last_seen = entry.published_parsed
|
self.last_seen = entry.published_parsed
|
||||||
|
|
||||||
def on_welcome(self, serv, ev):
|
def on_welcome(self, serv, ev):
|
||||||
|
Loading…
Reference in New Issue
Block a user