Ejemplo n.º 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);
 }
Ejemplo n.º 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);
 }