Example #1
0
        private void Client_OnConnectionError(object sender, TwitchLib.Client.Events.OnConnectionErrorArgs e)
        {
            //Console.WriteLine($"Error!! {e.Error}");

            // That's probably good enough
            Program.logger.LogVariable("TwitchClient Connection Error", "Error", e.Error);
        }
        //public void BotDisconnected(object Sender, OnDisconnectedEventArgs e)
        //{
        //    if (BotInstance.Isrunning)
        //    {
        //        StartBot();
        //    }
        //}

        public void BotConnectionError(object Sender, TwitchLib.Client.Events.OnConnectionErrorArgs e)
        {
            Console.WriteLine(e);
            if (BotInstance.Isrunning)
            {
                StartBot();
            }
        }
Example #3
0
 private void Client_OnConnectionError(object sender, TwitchLib.Client.Events.OnConnectionErrorArgs e)
 {
     Logger.Instance.LogMessage(TracingLevel.WARN, $"TwitchChat Connection Error: {e.Error.Message}");
 }
Example #4
0
 private void TwitchClient_OnConnectionError(object sender, TwitchLib.Client.Events.OnConnectionErrorArgs e)
 {
 }
 private void Client_OnConnectionError(object sender, TwitchLib.Client.Events.OnConnectionErrorArgs e)
 {
     MessageBox.Show(e.Error.Message);
 }
 private void Client_OnConnectionError(object sender, TwitchLib.Client.Events.OnConnectionErrorArgs e)
 {
     Console.WriteLine(e.Error.Message);
 }
Example #7
0
 private void Client_OnConnectionError(object sender, TwitchLib.Client.Events.OnConnectionErrorArgs e)
 {
     _logger.LogError($"ConnectionError: {e.Error.Message}");
 }
Example #8
0
 private void Client_OnConnectionError(object sender, TwitchLib.Client.Events.OnConnectionErrorArgs e)
 {
     logger.Trace("Connection error!");
 }
Example #9
0
 private void OnConnectionError(object sender, TwitchLib.Client.Events.OnConnectionErrorArgs e)
 {
     Debug.Log($"The Bot {e.BotUsername} failed to connect: {e.Error.Message}");
 }