diff --git a/bot.py b/bot.py index 8d3a44d..bd4a1fb 100644 --- a/bot.py +++ b/bot.py @@ -73,6 +73,9 @@ class Bot(discord.Client): tweets = data.get('tweet_create_events', []) if not tweets: return + if 'user_has_blocked' in data: + # ignore mentions + return user_id = data.get('for_user_id') if not user_id: return