Scenario: Discord has an API outage while member is in a room. Member now leaves the room. Since the API is down, we never pick up the update that the member has left, and we keep the session running until the next time they join a room, which could be weeks later.
Easiest way to fix this is probably just to force-restart the bot on the ready event if we've already responded to a ready event before.
Scenario: Discord has an API outage while member is in a room. Member now leaves the room. Since the API is down, we never pick up the update that the member has left, and we keep the session running until the next time they join a room, which could be weeks later.
Easiest way to fix this is probably just to force-restart the bot on the
ready
event if we've already responded to aready
event before.