hebdobot/hooks/comment.py

13 lines
272 B
Python
Raw Normal View History

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