Skip to content

Commit

Permalink
Added hashtag requirement to fix replies within replies within replies.
Browse files Browse the repository at this point in the history
  • Loading branch information
brizandrew committed Feb 21, 2018
1 parent 6531b93 commit c812654
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Is This True Bot
This is simple bot that responds to Tweets with potential fact checks. A person must reply to a Tweet with a link, tagging [@IsThisTrueBot](www.twitter.com/IsThisTrueBot). Once they do, the bot will reply with a matching fact-check (if one exists) or an error if no link was found.
This is simple bot that responds to Tweets with potential fact checks. A person must reply to a Tweet with a link, tagging [@IsThisTrueBot](www.twitter.com/IsThisTrueBot) and using the hashtag `#IsThisTrue`. Once they do, the bot will reply with a matching fact-check (if one exists) or an error if no link was found.

This bot is still in the early stages of development. Currently, it only searches PolitiFact for fact-checks. We plan to expand the evaluation to pull in different sources, including Snopes and other sites which support [`ClaimReview`](http://pending.webschemas.org/ClaimReview). The longer-term goal is to use machine learning to enhance our evaluation of sources.

Expand Down
2 changes: 1 addition & 1 deletion isthistruebot/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def run(self):
Create a Custom Tweepy stream listener and start listening for Tweets tagged with @IsThisTrueBot
"""
stream = tweepy.Stream(auth=twitter.auth, listener=StreamListener())
stream.filter(track=['@IsThisTrueBot'], async=True)
stream.filter(track=['@IsThisTrueBot #IsThisTrue'], async=True)


if __name__ == "__main__":
Expand Down

0 comments on commit c812654

Please sign in to comment.