Example #1
0
 /// <summary>
 /// This thred will send messages to the Twitch IRC abiding to the default message limit of
 /// 20 message every 30 seconds.
 /// </summary>
 private void messageSender()
 {
     while (consoleOpen)
     {
         irc.sendMessage();
         Thread.Sleep(20 / 30 * 1000);
     }
 }