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 845B

12345678910111213141516171819202122232425262728
  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 MessageType MessageType { 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 List<AccessType> Access { get; set; }
  15. public CommandMessage()
  16. {
  17. Location = string.Empty;
  18. MessageType = MessageType.Channel;
  19. Nick = new Nick();
  20. TimeStamp = DateTime.Now;
  21. Command = string.Empty;
  22. Arguments = new Dictionary<string, dynamic>();
  23. Access = new List<AccessType>();
  24. }
  25. }
  26. }