This repository was archived by the owner on Nov 19, 2022. It is now read-only.
1.9.0
This is the latest (last?) attempt at a fix for the XKCDAltTextBot retweet issue. This time, the idea is to double-check that a Tweet is new. All updates are below:
- Add the following code before line 219 and tab all following code to the right:
new_tweet_check = None
for i in range(2):- On the new line 229 replace
continuewithbreak. - Add the following code before the new line 231 and tab all following code to the right:
if new_tweet_check is None: # Unverified new Tweet
new_tweet_check = original_tweet
print('Potential new comic. Waiting 15 seconds to verify...')
continue
elif new_tweet_check == original_tweet: # Confirmed new Tweet