Python Chatbot to recognize follows/donation/subs

Follow notifications aren’t sent through chat, you’d have to either poll the Get Users Follows endpoint: https://dev.twitch.tv/docs/api/reference#get-users-follows or use a webhook subscription for that topic: https://dev.twitch.tv/docs/api/webhooks-reference#topic-user-follows

As for ‘donations’ the vast majority of streams don’t receive ‘donations’ they receive ‘tips’ (an important distinction for legal/tax reasons). Also, Twitch doesn’t offer that as a service so if you’d like to see what tips a streamer is receiving you’ll have to check the documentation for whatever service is used by the channel. If you mean Cheers though, that information is available through chat and you should check the documentation for whatever library you’re using as how to accomplish that depends on your library.

As for subs, it’s the same deal as Cheers, you’ll have to refer to the documentation of whatever library you’re using.