I saw some several topics about this issue
like : [IRC] Twitch Chatbot Disconnection Issues - #3 by ankhheart
My bot immediately send back pong after receiving PING from twitch IRC channel
But the connections are closed by remote host(IRC)
I usually connect IRC 10 at maximum and don’t send commands or normal messages by bot
I’m asking because I see no rules in documentation when the IRC is disconnected
and there are no answer from twitch staff
only I see is
Re-Connecting to Twitch IRC
To re-connect to Twitch, follow the same process. Best practice suggests trying again with exponential backoff (immediate, 1s, 2s, 4s, 8s, …).
is reconnecting to channels is the only way to solve this problem?