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.

RelayMessage.cs 651B

1234567891011121314151617181920212223242526272829
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace Combot.Modules.Plugins
  7. {
  8. public class RelayMessage
  9. {
  10. public string Source { get; set; }
  11. public string Target { get; set; }
  12. public RelayType Type { get; set; }
  13. public string Message { get; set; }
  14. public RelayMessage()
  15. {
  16. SetDefaults();
  17. }
  18. private void SetDefaults()
  19. {
  20. Source = string.Empty;
  21. Target = string.Empty;
  22. Type = RelayType.Message;
  23. Message = string.Empty;
  24. }
  25. }
  26. }