when doing local testing, i discovered that if twitch sends a disconnect message, the bot ceases to work on twitch as expected, but there's no indication of this in the logging (and the discord side continues to work). i think that this is the behavior that we've been observing whenever the bot goes down on twitch.
this pr adds logs for every message that twitch sends to the bot, with the hope of providing more useful information for nailing down the actual problem. as a bandaid fix, i wonder if we could restart the twitch client in an event_handler for disconnect.
when doing local testing, i discovered that if twitch sends a disconnect message, the bot ceases to work on twitch as expected, but there's no indication of this in the logging (and the discord side continues to work). i think that this is the behavior that we've been observing whenever the bot goes down on twitch.
this pr adds logs for every message that twitch sends to the bot, with the hope of providing more useful information for nailing down the actual problem. as a bandaid fix, i wonder if we could restart the twitch client in an event_handler for
disconnect
.