(Python) How can I get the username of someone who sent a command to my chatbot?

This chat example uses, jaraco/irc as a basic IRC library

https://python-irc.readthedocs.io/en/latest/

Yon can log out the contents of e to see what it has exposed.

It’s probably in e.login, I don’t use python or this library myself

But this is more a IRC parsing question in python than a TwitchAPI question.

1 Like