Python Twitch Follow API

I’m coding a twitch chat bot that works with selenium.
I could not find how to get the token of the entered account.

Don’t this is not supported.
And may constitute a violation of the developer agreement.

https://www.twitch.tv/p/en/legal/developer-agreement/

And this is not the intended way for developers to create bots.

Please sign up for a ClientID and generate tokens via oAuth

Please use the documented oAuth flows: