Yeah, most of my bots don’t get a ping in a paticular timeframe so I/the bot pings itself.
My next suggestion would be to pull the RAW IRC lines and see if theres an error or disconnect.
And/or if you bot framework has a PING timeout for “missed”(never sent) server pings