The easy to use and full featured Irc Bot everyone is talking about!
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Types.cs 818B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Collections;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. using System.ComponentModel;
  8. using System.Net;
  9. namespace Combot
  10. {
  11. public enum ErrorType
  12. {
  13. Bot = 0,
  14. TCP = 1,
  15. IRC = 2,
  16. Framework = 3
  17. }
  18. public enum MessageType
  19. {
  20. Service = 0,
  21. Channel = 1,
  22. Query = 2,
  23. Notice = 3,
  24. CTCP = 4
  25. }
  26. public class BotError
  27. {
  28. public ErrorType Type { get; set; }
  29. public string Message { get; set; }
  30. }
  31. public class Server
  32. {
  33. public string Name { get; set; }
  34. public List<IPEndPoint> Hosts { get; set; }
  35. public List<string> Channels { get; set; }
  36. public bool AutoConnect { get; set; }
  37. }
  38. }