hebdobot/hooks/input_review.py

13 lines
320 B
Python

import logger
class InputReview:
def process(self, bot, channel, sender, message):
"""
Tout message prononcé pendant la revue est enregistré.
"""
if bot.review.is_started:
logger.info("message during review caught.")
bot.review.add_input(sender, message)