示例#1
0
 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);
 }
示例#2
0
 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);
 }