The easy to use and full featured Irc Bot everyone is talking about!
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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. }