Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError: 'login' #435

Closed
Hybert404 opened this issue Nov 28, 2023 · 0 comments
Closed

KeyError: 'login' #435

Hybert404 opened this issue Nov 28, 2023 · 0 comments

Comments

@Hybert404
Copy link

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?

@PythonistaGuild PythonistaGuild locked and limited conversation to collaborators Nov 28, 2023
@chillymosh chillymosh converted this issue into discussion #436 Nov 28, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant