diff --git a/interaction/script.py b/interaction/script.py index 907902e..500e441 100644 --- a/interaction/script.py +++ b/interaction/script.py @@ -42,7 +42,7 @@ def interactions(): return for tweet in reversed(tweets): if re.search('what is.*if not.*persevering',tweet.text.lower()): - if not tweet.text.lower().startswith('rt') and tweet.user != api.me(): + if not tweet.text.lower().startswith('rt') and tweet.user != api.verify_credentials(): print(f'Tweet {tweet.text} by @{tweet.author.screen_name}', flush = True) t = api.get_status(tweet.id) if not t.favorited: