Great, but then I don’t understand how to implement it. I connect to the server, send there:
PASS oauth:token_first_channel + NICKNAME mybot. I am waiting for a response about successful authorization, and then I send JOIN #first_channel. The connection is established successfully and I get GLHF. Then I send PASS oauth:token_second_channel. I am waiting for a response from the server, and it just sends a packet with the FIN flag in response (communication is interrupted). On the website, the API did not find an exact way to connect to 2, 3, and so on channels that have a token.