Thank you, it works now!
In fact I’ve tried to send something similar to your solution, but it didn’t work:
s.send('CAP REQ :twitch.tv/tags twitch.tv/commands'.encode('utf-8'))
Also, after some research, I’ve discovered two things:
- Only
twitch.tv/commandsis required of those 3 things for receiving whispers. - Don’t forget ‘\r\n’ at the end!
Although my problem turned out to be #2, without your solution I wasn’t sure that the problem was related to that command.