What info do I need to send to the twitch api when I establish a connection with godot?

I removed and revoked your oAuth token.
These are considered paswords and should not be posted publically

tcpClient.put_data(('PASS ' + CLIENT_PASS).to_utf8())
tcpClient.put_data(('NICK ' + CLIENT_NICK).to_utf8())
tcpClient.put_data(('USER' + CLIENT_ID).to_utf8())

You do not need a NICK command and your user should be the username not the clientID

You also omitted the space after USER