def do_action(self): new = bandm_lib.current() if new != self.old: self.bot.say(u"Nouvelle chanson : %s" % new) self.old = new
def update(self, silent=False): self.old = bandm_lib.current()
def default(self, sender): current = bandm_lib.current() res = u"Titre en cours : %s" % (current) return res