The easy to use and full featured Irc Bot everyone is talking about!
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.ComponentModel;
  7. namespace Combot.IRCServices
  8. {
  9. public class ChannelModeInfo
  10. {
  11. public ChannelMode Mode { get; set; }
  12. public bool Set { get; set; }
  13. public string Parameter { get; set; }
  14. }
  15. public class UserModeInfo
  16. {
  17. public UserMode Mode { get; set; }
  18. public bool Set { get; set; }
  19. }
  20. public enum ChannelMode
  21. {
  22. [Description("Admin")]
  23. a,
  24. [Description("Admin Only")]
  25. A,
  26. [Description("Ban")]
  27. b,
  28. [Description("Colourless")]
  29. c,
  30. [Description("No CTCP")]
  31. C,
  32. [Description("Ban Exempt")]
  33. e,
  34. [Description("Flood Protection")]
  35. f,
  36. [Description("HalfOp")]
  37. h,
  38. [Description("Invite Only")]
  39. i,
  40. [Description("Invite Exempt")]
  41. I,
  42. [Description("Join Throttling")]
  43. j,
  44. [Description("Key")]
  45. k,
  46. [Description("No KNOCK")]
  47. K,
  48. [Description("Limit")]
  49. l,
  50. [Description("Link")]
  51. L,
  52. [Description("Moderated")]
  53. m,
  54. [Description("Registered Nicks May Talk")]
  55. M,
  56. [Description("No External Messages")]
  57. n,
  58. [Description("No Nickname Changes")]
  59. N,
  60. [Description("Operator")]
  61. o,
  62. [Description("Oper Only")]
  63. O,
  64. [Description("Private")]
  65. p,
  66. [Description("Founder")]
  67. q,
  68. [Description("No Kicks Allowed")]
  69. Q,
  70. [Description("Registered")]
  71. r,
  72. [Description("Registered Only")]
  73. R,
  74. [Description("Secret")]
  75. s,
  76. [Description("Strip Mirc Colors")]
  77. S,
  78. [Description("+hoaq Only Topic Change")]
  79. t,
  80. [Description("No Notices")]
  81. T,
  82. [Description("Auditorium")]
  83. u,
  84. [Description("Voice")]
  85. v,
  86. [Description("No Invite")]
  87. V,
  88. [Description("Secure Only")]
  89. z
  90. }
  91. public enum UserMode
  92. {
  93. [Description("Service Administrator")]
  94. a,
  95. [Description("Service Administrator")]
  96. A,
  97. [Description("Bot")]
  98. B,
  99. [Description("Connection Notice")]
  100. c,
  101. [Description("Co-Administrator")]
  102. C,
  103. [Description("Deaf")]
  104. d,
  105. [Description("View 'Eyes' Server Messages")]
  106. e,
  107. [Description("Flood Alerts")]
  108. f,
  109. [Description("Remote Server Connection Notice")]
  110. F,
  111. [Description("GlobOp and LocOp Messages")]
  112. g,
  113. [Description("Censored")]
  114. G,
  115. [Description("Helpful")]
  116. h,
  117. [Description("Hide IRCop Status")]
  118. H,
  119. [Description("Invisible")]
  120. i,
  121. [Description("Junk Messages")]
  122. j,
  123. [Description("Kill Messages")]
  124. k,
  125. [Description("Nick Change Notice")]
  126. n,
  127. [Description("Network Administrator")]
  128. N,
  129. [Description("Global Operator")]
  130. o,
  131. [Description("Local Operator")]
  132. O,
  133. [Description("Hide All Channels")]
  134. p,
  135. [Description("U:Lines Only")]
  136. q,
  137. [Description("Registered")]
  138. r,
  139. [Description("Registered Messages Only")]
  140. R,
  141. [Description("Server Notices")]
  142. s,
  143. [Description("Services Only")]
  144. S,
  145. [Description("VHost")]
  146. t,
  147. [Description("No CTCP")]
  148. T,
  149. [Description("Receive Bad DCC")]
  150. v,
  151. [Description("WebTV User")]
  152. V,
  153. [Description("Wallops")]
  154. w,
  155. [Description("Whois Notice")]
  156. W,
  157. [Description("Hidden Hostname")]
  158. x,
  159. [Description("Secure Connection")]
  160. z
  161. }
  162. public enum ServerStat
  163. {
  164. [Description("List of Servers that allow Server Connection")]
  165. c,
  166. [Description("List of Server Hubs")]
  167. h,
  168. [Description("List of Hosts that allow Client Connection")]
  169. i,
  170. [Description("List of banned user/hostname of Server")]
  171. k,
  172. [Description("Lists Server Connections")]
  173. l,
  174. [Description("Commands Supported")]
  175. m,
  176. [Description("Lists Hosts that allow Normal Operators")]
  177. o,
  178. [Description("List Class lines from Server Config")]
  179. y,
  180. [Description("Server Uptime")]
  181. u
  182. }
  183. public enum PrivilegeMode
  184. {
  185. [Description("Voice")]
  186. v,
  187. [Description("Half-Operator")]
  188. h,
  189. [Description("Operator")]
  190. o,
  191. [Description("Super Operator")]
  192. a,
  193. [Description("Founder")]
  194. q
  195. }
  196. }