import logger class Version: def process(self, bot, channel, sender, message): """ Si la commande est bonne, le bot renvoie sa version. """ if message.lower() == "!version": logger.info("!version caught.") bot.send(channel, bot.VERSION) return True