I noticed that https://twitrss.me takes a while to take new tweets into account (thank you Twitter for your no-RSS policy). That's why I replaced the RSS parts in your bot with calls to the Twitter API.
I can't say it's good code, but for now it works, so maybe it could be useful to others. The disadvantage is that you need a Twitter account in order to get access tokens.
I noticed that https://twitrss.me takes a while to take new tweets into account (thank you Twitter for your no-RSS policy). That's why I replaced the RSS parts in your bot with calls to the Twitter API.
I can't say it's good code, but for now it works, so maybe it could be useful to others. The disadvantage is that you need a Twitter account in order to get access tokens.