Exemple #1
0
 private void Client_OnConnected(object sender, OnConnectedArgs e)
 {
     Console.WriteLine($"Connected to {e.AutoJoinChannel}");
     client.JoinChannel(Settings.ChannelName);
     isConnected = true;
     window.Dispatcher.Invoke((Action)(() =>
     {//this refer to form in WPF application
         window.BotStarted();
     }));
 }