I am using Phantombot and already contacted their support forums and Discord.
The disconnect symptoms:
When turning the bot on and the stream is offline, the bot disappears in 5 or 10 minutes from the chat. When the stream is live and the twitchchat is active, the bot just keeps going like a champ. After a 6 hours stream the bot can be for many more hours in the chat with a dead chat. Eventually during the night it somewhere disconnects from chat. The console does not state anything special, nor do the logs.
The bot does not freeze or anything; the discord feature and the controlpanel keep running when the bot is disconnected from twitchchat. The bot does not reconnect by itself which it should. It requires a manual reconnect by console command to get it back into the chat. Rebooting the bot makes it instantly function again as well, so it looks not to be a temp ban.
Some say I need to request the bot to be whitelisted. Some say it has something to do with connecting from Germany/ The Netherlands where others have had issues lately as well for connecting overseas to twitchchat with a bot.
What can cause the issue? What can solve it? Any help is appreciated
A log from when a disconnect occurs since last ping-pong. Only the last two lines are repeated, the ping-pong does not occur anymore after the disconnect:
[11-27-2016 @ 17:35:22.361 GMT] Got a ping from Twitch: PING :tmi.twitch.tv.
[11-27-2016 @ 17:35:22.361 GMT] Sent a pong to Twitch.
[11-27-2016 @ 17:35:27.572 GMT] TwitchCache::updateCache
[11-27-2016 @ 17:35:50.580 GMT] ChannelHostCache: Success with TMI
[11-27-2016 @ 17:35:58.338 GMT] TwitchCache::updateCache
[11-27-2016 @ 17:36:08.378 GMT] Dispatched event me.mast3rplan.phantombot.event.discord.DiscordEvent
[11-27-2016 @ 17:36:10.742 GMT] Dispatched event me.mast3rplan.phantombot.event.discord.DiscordEvent
[11-27-2016 @ 17:36:21.259 GMT] ChannelHostCache: Success with TMI
[11-27-2016 @ 17:36:29.238 GMT] TwitchCache::updateCache