import logger class Comment: def process(self, bot, channel, sender, message): """ Si le message est un commentaire, le bot l'ignore. """ if message.startswith("%"): logger.info("comment caught.") return True