MozillaItalia/mozitahub_bot

Remove user from bot notification when they block it

Mte90 opened this issue · 3 comments

Mte90 commented

From the log:

Excep:08 -> ('Forbidden: bot was blocked by the user', 403, {'ok': False, 'error_code': 403, 'description': 'Forbidden: bot was blocked by the user'})

Users are already removed from the list

Mte90 commented

Sorry the log wasn't cleaned and I didn't saw that.

No problem. In the log is printed that string (because it's actually an exception!), but after the bot analyses that exception and, in case, it removes from the "Avvisi" and "All users" lists