The easy to use and full featured Irc Bot everyone is talking about!
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

IRCMessages.cs 547B

123456789101112131415161718192021222324
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace Combot
  7. {
  8. internal partial class IRCService
  9. {
  10. public event Action<Message> MessageReceivedEvent;
  11. internal void ParseTCPMessage(string message)
  12. {
  13. Message parsedMessage = new Message();
  14. Action<Message> localEvent = MessageReceivedEvent;
  15. if (localEvent != null)
  16. {
  17. localEvent(parsedMessage);
  18. }
  19. }
  20. }
  21. }