- def update_activity(self,canal,pseudo):
- if not pseudo in config.idle_bots:
+ def update_activity(self,canal,pseudo,message,force=False):
+ if force or (not pseudo in config.idle_bots and all([not re.match(ignore, message) for ignore in config.idle_messages])):