Example #1
0
 private void Twitch_MessageReceived(object sender, IrcMessageEventArgs e)
 {
     if (this.messageReceived != null)
     {
         TwitchMessage tm = new TwitchMessage();
         tm.date   = DateTime.Now;
         tm.Name   = e.Source.Name;
         tm.ToName = "";
         tm.Text   = e.Text;
         messageReceived(sender, tm);
     }
     Thread.Sleep(100);
 }
Example #2
0
 private void Twitch_MessageReceived(object sender, IrcMessageEventArgs e)
 {
     if (this.messageReceived != null)
     {
         TwitchMessage tm = new TwitchMessage();
         tm.date = DateTime.Now;
         tm.Name = e.Source.Name;
         tm.ToName = "";
         tm.Text = e.Text;
         messageReceived(sender, tm);
     }
     Thread.Sleep(100);
 }