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.

CommandArgument.cs 678B

123456789101112131415161718192021222324252627282930
  1. using System.Collections.Generic;
  2. namespace Combot.Modules
  3. {
  4. public class CommandArgument
  5. {
  6. public string Name { get; set; }
  7. public string Description { get; set; }
  8. public bool Required { get; set; }
  9. public CommandArgument()
  10. {
  11. SetDefaults();
  12. }
  13. public void SetDefaults()
  14. {
  15. Name = string.Empty;
  16. Description = string.Empty;
  17. Required = false;
  18. }
  19. public void Copy(CommandArgument argument)
  20. {
  21. Name = argument.Name;
  22. Description = argument.Description;
  23. Required = argument.Required;
  24. }
  25. }
  26. }