Socket message sending and receiving has changed from using plain strings to "byte-like" types which is achieved by encoding or decoding the message before and after receiving. I've chosen utf-8 as it's the most common but may break chat functionality for certain languages. Maybe it should become a parameter of the TwitchChatStream class.
The changes will not break compatibility with Python2.7.
Socket message sending and receiving has changed from using plain strings to "byte-like" types which is achieved by encoding or decoding the message before and after receiving. I've chosen utf-8 as it's the most common but may break chat functionality for certain languages. Maybe it should become a parameter of the TwitchChatStream class.
The changes will not break compatibility with Python2.7.