Closed Hybert404 closed 9 months ago
import twitchio oauth_token = "1234" async def event_message(ctx): print(f"Received message: {ctx.content}") if __name__ == "__main__": bot = twitchio.Client(token=oauth_token) bot.event(event_message) bot.run()
I simply tried to read chat messages. I requested oAuth token, put it in the script and it always give me error KeyError: 'login'. I have tried different twitchio versions and requesting new oAuth. Still doesn't work. Any help?
I simply tried to read chat messages. I requested oAuth token, put it in the script and it always give me error KeyError: 'login'. I have tried different twitchio versions and requesting new oAuth. Still doesn't work. Any help?