private static void Client_OnDisconnected(object sender, TwitchLib.Communication.Events.OnDisconnectedEventArgs e) { BotTools.LogLine("RazBot lost connection to Twitch, reconnecting..."); Client = NewTwitchConnection(); Client.JoinChannel(CurrentChannel.ToLower()); }
public static void LeaveChannel() { Client.LeaveChannel(CurrentChannel.ToLower()); }