The easy to use and full featured Irc Bot everyone is talking about!
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

CommandMessage.cs 810B

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 List<string> 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 List<string>();
  22. }
  23. }
  24. public enum LocationType
  25. {
  26. Channel,
  27. Query,
  28. Notice
  29. }
  30. }