13 lines
272 B
Python
13 lines
272 B
Python
|
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
|