diff --git a/src/BotYamPoster.py b/src/BotYamPoster.py index c075c49..5b705a8 100644 --- a/src/BotYamPoster.py +++ b/src/BotYamPoster.py @@ -74,7 +74,7 @@ class BotYamPoster(tweepy.StreamingClient): if (postcounter == 0 and "@FromBotYam" in tweet.data['text']): print("Post counter for this tweet: 0! Posting tilt.") - if any(tilter in tweet.data['text'] for tilter in reply_bank['special_gags']['tilt']['keywords']) or (postcounter == 0 and "@FromBotYam" in tweet.data['text']): + if (any(tilter in tweet.data['text'] for tilter in reply_bank['special_gags']['tilt']['keywords'])) or (postcounter == 0 and "@FromBotYam" in tweet.data['text']): postcounter = post_reply( conn, reply_bank['victims'],