Skip to content
This repository has been archived by the owner on Jun 3, 2023. It is now read-only.

Added POTUS twitter account and filters for messages with '-DJT' #27

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

TheEECS
Copy link

@TheEECS TheEECS commented Feb 11, 2017

ER: #17

twitter.py Outdated
@@ -244,6 +245,15 @@ def handle_data(self, logs, data):
logs.debug("Skipping tweet from user: %s (%s)" %
(screen_name, user_id_str))
return
# Only look at POTUS tweets from POTUS, then check that tweet is signed -DJT
if user_id_str != POTUS_USER_ID:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are gonna need to add this to the original checker, because right now it won't even reach this part if it isnt by @RealDonaldTrump

@TheEECS
Copy link
Author

TheEECS commented Feb 11, 2017

@gilrosenthal duh, good catch. I have no idea why I missed that

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants