mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 12:32:03 -04:00
Reset GambaSesh presence detection on reconnect so it can resync with join list
This commit is contained in:
@@ -245,6 +245,8 @@ public class KickBot
|
||||
private void OnKfWsReconnected(object sender, ReconnectionInfo reconnectionInfo)
|
||||
{
|
||||
_logger.Error($"Sneedchat reconnected due to {reconnectionInfo.Type}");
|
||||
_logger.Info("Resetting GambaSesh presence so it can resync if he crashed while the bot was DC'd");
|
||||
_gambaSeshPresent = false;
|
||||
_logger.Info($"Rejoining {_config.KfChatRoomId}");
|
||||
_kfClient.JoinRoom(_config.KfChatRoomId);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user