I've got a simple dicebot running this is set to autojoin on invite to any channel that needs a dicebot. However from time to time when a user will invite the dicebot to a channel it leaves one of the channels that it is already on.
Any ides as to WHY this happens? And how to prevent it.
one logical guess would be that it has reached the max number of allowed channels by that irc network/server. so in order to join a new channel, it must also part a channel to keep under the limit. this limit varies by irc network.
I thought about that myself but thats not it. The bot connects under a special connection class that allows a high number of channels. As it can rejoin the channel it parted from and not leave any others for a while.
It seems quite random and thats why I so perplexed by it.