hebdobot/hooks/input_review.py

13 lines
320 B
Python
Raw Normal View History

2024-01-11 08:17:25 +01:00
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)