protected void Parse(XG.Plugin.Irc.Parser.AParser aParser, string aMessage) { aMessage = XG.Plugin.Irc.Parser.Helper.RemoveSpecialIrcChars(aMessage); var message = new Message { Channel = Channel, Nick = Bot.Name, Text = aMessage }; aParser.Parse(message); }
protected void Parse(XG.Plugin.Irc.Parser.AParser aParser, XG.Plugin.Irc.IrcConnection aConnection, IrcEventArgs aEvent) { string tMessage = XG.Plugin.Irc.Parser.Helper.RemoveSpecialIrcChars(aEvent.Data.Message); aParser.Parse(aConnection, tMessage, aEvent); }