I\'m moving my Twitch bot from Python 2.7 to Python 3.5. I keep getting the error: a bytes like object is required not \'str\' on the 2nd line of the code belo
a bytes like object is required not \'str\'
try
data = twitchdata.decode().split(":")[1]
instead of
data = twitchdata.split(":")[1]