Closed NHDaly closed 8 years ago
Thank you for noticing this, I thought I was going crazy when this didn't work. One simple fix for this if it doesn't work, as in the color.py example, is to change line 42 to.
username = args.username.lower()
This way it no longer matters whether it's capital or not. Seems strange that it has to be lowercase.
Haha yeah I was too! Spent a while pretty upset. :)
Oooh, yes, great idea, @RoboCD. That's a good fix. :)
@RoboCD Which line 42 are you talking about?
I've sent a PR for updating the example in the README
Merged!
For
TwitchChatStream
, ifusername
has capital letters in it, thechatstream.twitch_receive_messages()
doesn't ever return messages.It is able to send messages, but not receive them.
Here is a simple example:
If
twitch_username
has capitals in it, the send succeeds but never receives messages, whereas if it's all lowercase, everything works. This even happens if i manually forcejoin_channel
to the lowercase named channel.