/// <summary> /// Raises the <see cref="LeftChannel"/> event. /// </summary> /// <param name="e">The <see cref="IrcChannelEventArgs"/> instance containing the event data.</param> protected virtual void OnLeftChannel(IrcChannelEventArgs e) { var handler = this.LeftChannel; if (handler != null) { handler(this, e); } }
private void OnTwitchChannelJoinLocal(object sender, IrcChannelEventArgs e) { e.Channel.MessageReceived += OnTwitchMessageReceived; e.Channel.UserJoined += OnTwitchChannelJoin; e.Channel.UserLeft += OnTwitchChannelLeft; SendMessage(new Message(String.Format("Twitch: bot joined!"), EndPoint.TwitchTV, EndPoint.SteamAdmin)); checkMark.SetOn(pictureTwitch); }
private void OnTwitchChannelLeftLocal(object sender, IrcChannelEventArgs e) { SendMessage(new Message(String.Format("Twitch: bot left!"), EndPoint.TwitchTV, EndPoint.SteamAdmin)); }
private void OnGohaChannelLeftLocal(object sender, IrcChannelEventArgs e) { SendMessage(new Message(String.Format("Goha: bot left!"), EndPoint.Gohatv, EndPoint.SteamAdmin)); }
private void OnGohaChannelJoinLocal(object sender, IrcChannelEventArgs e) { e.Channel.MessageReceived += OnGohaMessageReceived; e.Channel.UserJoined += OnGohaChannelJoin; e.Channel.UserLeft += OnGohaChannelLeft; SendMessage(new Message(String.Format("Goha: bot joined!"), EndPoint.Gohatv, EndPoint.SteamAdmin)); //gohaIrc.SendRawMessage("NICK " + settings.GohaUser); checkMark.SetOn(pictureGoha); gohaIrc.LocalUser.SendMessage("NickServ", String.Format("IDENTIFY {0}", settings.GohaPassword)); }
private void OnGohaChannelJoinLocal(object sender, IrcChannelEventArgs e) { e.Channel.MessageReceived += OnGohaMessageReceived; e.Channel.UserJoined += OnGohaChannelJoin; e.Channel.UserLeft += OnGohaChannelLeft; //gohaIrc.SendRawMessage("NICK " + settings.GohaUser); gohaIrc.LocalUser.SendMessage("NickServ", String.Format("IDENTIFY {0}", settings.GohaPassword)); }
private void OnTwitchChannelJoinLocal(object sender, IrcChannelEventArgs e) { lock (lockTwitchConnect) { e.Channel.UserJoined += OnTwitchChannelJoin; e.Channel.UserLeft += OnTwitchChannelLeft; e.Channel.MessageReceived += OnTwitchMessageReceived; chatStatusTwitch.On = true; SendMessage(new UbiMessage(String.Format("Twitch IRC: logged in!"), EndPoint.TwitchTV, EndPoint.Notice)); twitchIrc.PongReceived += new EventHandler<IrcPingOrPongReceivedEventArgs>(twitchIrc_PongReceived); twitchPing.Change(0, 30000); } }
/// <summary> /// Raises the <see cref="LeftChannel"/> event. /// </summary> /// <param name="e">The <see cref="IrcChannelEventArgs"/> instance containing the event data.</param> protected virtual void OnLeftChannel(IrcChannelEventArgs e) { var handler = this.LeftChannel; if (handler != null) handler(this, e); }