Exemplo n.º 1
0
 /// <summary>
 /// Just do post connect channel joining and capabilities requesting
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private static void Client_OnConnect(object sender, EventArgs e)
 {
     client.SendRaw("CAP REQ :twitch.tv/tags");
     Thread.Sleep(500);
     client.SendRaw("CAP REQ :twitch.tv/commands");
     Thread.Sleep(500);
     client.JoinChannel(Channel);
     Thread.Sleep(500);
     client.JoinChannel($"#{Config.Get<string>(BotSetting.Username)}");
     Thread.Sleep(500);
     client.JoinChannel(ChatBotChannel);
 }