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.

CommandMessage.cs 840B

123456789101112131415161718192021222324252627282930313233
  1. using System;
  2. using System.Collections.Generic;
  3. using Combot.IRCServices;
  4. namespace Combot.Modules
  5. {
  6. public class CommandMessage
  7. {
  8. public string Location { get; set; }
  9. public LocationType LocationType { get; set; }
  10. public Nick Nick { get; set; }
  11. public DateTime TimeStamp { get; set; }
  12. public string Command { get; set; }
  13. public Dictionary<string, dynamic> Arguments { get; set; }
  14. public CommandMessage()
  15. {
  16. Location = string.Empty;
  17. LocationType = LocationType.Channel;
  18. Nick = new Nick();
  19. TimeStamp = DateTime.Now;
  20. Command = string.Empty;
  21. Arguments = new Dictionary<string, dynamic>();
  22. }
  23. }
  24. public enum LocationType
  25. {
  26. Channel,
  27. Query,
  28. Notice
  29. }
  30. }