mirror of
https://github.com/barelyprofessional/KfChatDotNet.git
synced 2026-05-02 04:22:04 -04:00
Updated reconnection logic to always fire even if it's an initial "reconnection". This is to avoid the bot lingering outside the channel after fetching a fresh token as it was triggering a ByUser reconnect then an Initial reconnect and therefore not sending the join message.
This commit is contained in:
@@ -66,7 +66,6 @@ public class KickBot
|
||||
_kickClient.OnStopStreamBroadcast += OnStopStreamBroadcast;
|
||||
|
||||
_kfClient.StartWsClient().Wait(_cancellationToken);
|
||||
_kfClient.JoinRoom(_config.KfChatRoomId);
|
||||
|
||||
_kickClient.StartWsClient().Wait(_cancellationToken);
|
||||
foreach (var channel in _config.PusherChannels)
|
||||
|
||||
Reference in New Issue
Block a user