Closed mgoodfellow closed 9 years ago
This is great; thank you for the PR! My only hesitation is making this a required feature. I think it would be better as an optional feature. Could you please take it out of the "required parameters" list and add the if statements to only send the bot to sleep if they have the sleep parameters set?
Hi @rhiever,
Thanks for the feedback - I have removed the timers from the required parameters list, and also refactored a little bit so its a bit more intelligent and robust.
Any more comments are more than welcome!
+1
Follow actions tend to be a difficult one when it comes to the Twitter API.
Therefore, this allows a couple of extra configuration fields (
FOLLOW_BACKOFF_MIN_SECONDS
andFOLLOW_BACKOFF_MAX_SECONDS
) to cause the bot to sleep a random interval between the two periods thereby seeming less like a bot.Also added future functions to allow this to be run on Python < 3 interpreters