-
-
Notifications
You must be signed in to change notification settings - Fork 167
Closed
Description
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?
Metadata
Metadata
Assignees
Labels
No labels