How to login chatbot without using https://twitchapps.com/tmi/

When I try to pass the “access_token” using this code:

    await self.send_data(f"PASS {access_token}")

I get the following error message:

2020-06-10 20:00:17.371873: twitch_chat_bot.py:    96: DEBUG  : :tmi.twitch.tv NOTICE * :Improperly formatted auth

Once again, the bot isn’t going to open a web browser and log into Twitch. And no matter how many times you paste that link into your answers, it doesn’t make it any more helpful.