carbon-proxy 0.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (520) hide show
  1. package/README.md +237 -0
  2. package/dist/package.json +43 -0
  3. package/dist/src/abstracts/AnySelectMenu.d.ts +40 -0
  4. package/dist/src/abstracts/AnySelectMenu.d.ts.map +1 -0
  5. package/dist/src/abstracts/AnySelectMenu.js +41 -0
  6. package/dist/src/abstracts/AnySelectMenu.js.map +1 -0
  7. package/dist/src/abstracts/AnySelectMenuInteraction.d.ts +12 -0
  8. package/dist/src/abstracts/AnySelectMenuInteraction.d.ts.map +1 -0
  9. package/dist/src/abstracts/AnySelectMenuInteraction.js +19 -0
  10. package/dist/src/abstracts/AnySelectMenuInteraction.js.map +1 -0
  11. package/dist/src/abstracts/Base.d.ts +10 -0
  12. package/dist/src/abstracts/Base.d.ts.map +1 -0
  13. package/dist/src/abstracts/Base.js +11 -0
  14. package/dist/src/abstracts/Base.js.map +1 -0
  15. package/dist/src/abstracts/BaseChannel.d.ts +60 -0
  16. package/dist/src/abstracts/BaseChannel.d.ts.map +1 -0
  17. package/dist/src/abstracts/BaseChannel.js +90 -0
  18. package/dist/src/abstracts/BaseChannel.js.map +1 -0
  19. package/dist/src/abstracts/BaseCommand.d.ts +77 -0
  20. package/dist/src/abstracts/BaseCommand.d.ts.map +1 -0
  21. package/dist/src/abstracts/BaseCommand.js +127 -0
  22. package/dist/src/abstracts/BaseCommand.js.map +1 -0
  23. package/dist/src/abstracts/BaseComponent.d.ts +20 -0
  24. package/dist/src/abstracts/BaseComponent.d.ts.map +1 -0
  25. package/dist/src/abstracts/BaseComponent.js +10 -0
  26. package/dist/src/abstracts/BaseComponent.js.map +1 -0
  27. package/dist/src/abstracts/BaseComponentInteraction.d.ts +18 -0
  28. package/dist/src/abstracts/BaseComponentInteraction.d.ts.map +1 -0
  29. package/dist/src/abstracts/BaseComponentInteraction.js +41 -0
  30. package/dist/src/abstracts/BaseComponentInteraction.js.map +1 -0
  31. package/dist/src/abstracts/BaseGuildChannel.d.ts +61 -0
  32. package/dist/src/abstracts/BaseGuildChannel.d.ts.map +1 -0
  33. package/dist/src/abstracts/BaseGuildChannel.js +125 -0
  34. package/dist/src/abstracts/BaseGuildChannel.js.map +1 -0
  35. package/dist/src/abstracts/BaseGuildTextChannel.d.ts +53 -0
  36. package/dist/src/abstracts/BaseGuildTextChannel.d.ts.map +1 -0
  37. package/dist/src/abstracts/BaseGuildTextChannel.js +89 -0
  38. package/dist/src/abstracts/BaseGuildTextChannel.js.map +1 -0
  39. package/dist/src/abstracts/BaseInteraction.d.ts +166 -0
  40. package/dist/src/abstracts/BaseInteraction.d.ts.map +1 -0
  41. package/dist/src/abstracts/BaseInteraction.js +274 -0
  42. package/dist/src/abstracts/BaseInteraction.js.map +1 -0
  43. package/dist/src/abstracts/BaseListener.d.ts +13 -0
  44. package/dist/src/abstracts/BaseListener.d.ts.map +1 -0
  45. package/dist/src/abstracts/BaseListener.js +8 -0
  46. package/dist/src/abstracts/BaseListener.js.map +1 -0
  47. package/dist/src/abstracts/BaseMessageInteractiveComponent.d.ts +41 -0
  48. package/dist/src/abstracts/BaseMessageInteractiveComponent.d.ts.map +1 -0
  49. package/dist/src/abstracts/BaseMessageInteractiveComponent.js +35 -0
  50. package/dist/src/abstracts/BaseMessageInteractiveComponent.js.map +1 -0
  51. package/dist/src/abstracts/BaseModalComponent.d.ts +9 -0
  52. package/dist/src/abstracts/BaseModalComponent.d.ts.map +1 -0
  53. package/dist/src/abstracts/BaseModalComponent.js +5 -0
  54. package/dist/src/abstracts/BaseModalComponent.js.map +1 -0
  55. package/dist/src/abstracts/GuildThreadOnlyChannel.d.ts +58 -0
  56. package/dist/src/abstracts/GuildThreadOnlyChannel.d.ts.map +1 -0
  57. package/dist/src/abstracts/GuildThreadOnlyChannel.js +102 -0
  58. package/dist/src/abstracts/GuildThreadOnlyChannel.js.map +1 -0
  59. package/dist/src/abstracts/Plugin.d.ts +49 -0
  60. package/dist/src/abstracts/Plugin.d.ts.map +1 -0
  61. package/dist/src/abstracts/Plugin.js +6 -0
  62. package/dist/src/abstracts/Plugin.js.map +1 -0
  63. package/dist/src/adapters/bun/index.d.ts +13 -0
  64. package/dist/src/adapters/bun/index.d.ts.map +1 -0
  65. package/dist/src/adapters/bun/index.js +16 -0
  66. package/dist/src/adapters/bun/index.js.map +1 -0
  67. package/dist/src/adapters/fetch/index.d.ts +11 -0
  68. package/dist/src/adapters/fetch/index.d.ts.map +1 -0
  69. package/dist/src/adapters/fetch/index.js +50 -0
  70. package/dist/src/adapters/fetch/index.js.map +1 -0
  71. package/dist/src/adapters/node/index.d.ts +13 -0
  72. package/dist/src/adapters/node/index.d.ts.map +1 -0
  73. package/dist/src/adapters/node/index.js +17 -0
  74. package/dist/src/adapters/node/index.js.map +1 -0
  75. package/dist/src/classes/Client.d.ts +253 -0
  76. package/dist/src/classes/Client.d.ts.map +1 -0
  77. package/dist/src/classes/Client.js +419 -0
  78. package/dist/src/classes/Client.js.map +1 -0
  79. package/dist/src/classes/Command.d.ts +44 -0
  80. package/dist/src/classes/Command.d.ts.map +1 -0
  81. package/dist/src/classes/Command.js +53 -0
  82. package/dist/src/classes/Command.js.map +1 -0
  83. package/dist/src/classes/CommandWithSubcommandGroups.d.ts +22 -0
  84. package/dist/src/classes/CommandWithSubcommandGroups.d.ts.map +1 -0
  85. package/dist/src/classes/CommandWithSubcommandGroups.js +27 -0
  86. package/dist/src/classes/CommandWithSubcommandGroups.js.map +1 -0
  87. package/dist/src/classes/CommandWithSubcommands.d.ts +19 -0
  88. package/dist/src/classes/CommandWithSubcommands.d.ts.map +1 -0
  89. package/dist/src/classes/CommandWithSubcommands.js +19 -0
  90. package/dist/src/classes/CommandWithSubcommands.js.map +1 -0
  91. package/dist/src/classes/Embed.d.ts +61 -0
  92. package/dist/src/classes/Embed.d.ts.map +1 -0
  93. package/dist/src/classes/Embed.js +75 -0
  94. package/dist/src/classes/Embed.js.map +1 -0
  95. package/dist/src/classes/Listener.d.ts +392 -0
  96. package/dist/src/classes/Listener.d.ts.map +1 -0
  97. package/dist/src/classes/Listener.js +1034 -0
  98. package/dist/src/classes/Listener.js.map +1 -0
  99. package/dist/src/classes/Modal.d.ts +37 -0
  100. package/dist/src/classes/Modal.d.ts.map +1 -0
  101. package/dist/src/classes/Modal.js +28 -0
  102. package/dist/src/classes/Modal.js.map +1 -0
  103. package/dist/src/classes/RequestClient.d.ts +106 -0
  104. package/dist/src/classes/RequestClient.d.ts.map +1 -0
  105. package/dist/src/classes/RequestClient.js +451 -0
  106. package/dist/src/classes/RequestClient.js.map +1 -0
  107. package/dist/src/classes/components/Button.d.ts +52 -0
  108. package/dist/src/classes/components/Button.d.ts.map +1 -0
  109. package/dist/src/classes/components/Button.js +71 -0
  110. package/dist/src/classes/components/Button.js.map +1 -0
  111. package/dist/src/classes/components/ChannelSelectMenu.d.ts +17 -0
  112. package/dist/src/classes/components/ChannelSelectMenu.d.ts.map +1 -0
  113. package/dist/src/classes/components/ChannelSelectMenu.js +22 -0
  114. package/dist/src/classes/components/ChannelSelectMenu.js.map +1 -0
  115. package/dist/src/classes/components/Checkbox.d.ts +12 -0
  116. package/dist/src/classes/components/Checkbox.d.ts.map +1 -0
  117. package/dist/src/classes/components/Checkbox.js +20 -0
  118. package/dist/src/classes/components/Checkbox.js.map +1 -0
  119. package/dist/src/classes/components/CheckboxGroup.d.ts +24 -0
  120. package/dist/src/classes/components/CheckboxGroup.d.ts.map +1 -0
  121. package/dist/src/classes/components/CheckboxGroup.js +37 -0
  122. package/dist/src/classes/components/CheckboxGroup.js.map +1 -0
  123. package/dist/src/classes/components/Container.d.ts +28 -0
  124. package/dist/src/classes/components/Container.d.ts.map +1 -0
  125. package/dist/src/classes/components/Container.js +38 -0
  126. package/dist/src/classes/components/Container.js.map +1 -0
  127. package/dist/src/classes/components/File.d.ts +21 -0
  128. package/dist/src/classes/components/File.d.ts.map +1 -0
  129. package/dist/src/classes/components/File.js +36 -0
  130. package/dist/src/classes/components/File.js.map +1 -0
  131. package/dist/src/classes/components/FileUpload.d.ts +23 -0
  132. package/dist/src/classes/components/FileUpload.d.ts.map +1 -0
  133. package/dist/src/classes/components/FileUpload.js +36 -0
  134. package/dist/src/classes/components/FileUpload.js.map +1 -0
  135. package/dist/src/classes/components/Label.d.ts +31 -0
  136. package/dist/src/classes/components/Label.d.ts.map +1 -0
  137. package/dist/src/classes/components/Label.js +35 -0
  138. package/dist/src/classes/components/Label.js.map +1 -0
  139. package/dist/src/classes/components/MediaGallery.d.ts +22 -0
  140. package/dist/src/classes/components/MediaGallery.d.ts.map +1 -0
  141. package/dist/src/classes/components/MediaGallery.js +32 -0
  142. package/dist/src/classes/components/MediaGallery.js.map +1 -0
  143. package/dist/src/classes/components/MentionableSelectMenu.d.ts +15 -0
  144. package/dist/src/classes/components/MentionableSelectMenu.d.ts.map +1 -0
  145. package/dist/src/classes/components/MentionableSelectMenu.js +20 -0
  146. package/dist/src/classes/components/MentionableSelectMenu.js.map +1 -0
  147. package/dist/src/classes/components/RadioGroup.d.ts +24 -0
  148. package/dist/src/classes/components/RadioGroup.d.ts.map +1 -0
  149. package/dist/src/classes/components/RadioGroup.js +33 -0
  150. package/dist/src/classes/components/RadioGroup.js.map +1 -0
  151. package/dist/src/classes/components/RoleSelectMenu.d.ts +15 -0
  152. package/dist/src/classes/components/RoleSelectMenu.d.ts.map +1 -0
  153. package/dist/src/classes/components/RoleSelectMenu.js +20 -0
  154. package/dist/src/classes/components/RoleSelectMenu.js.map +1 -0
  155. package/dist/src/classes/components/Row.d.ts +28 -0
  156. package/dist/src/classes/components/Row.d.ts.map +1 -0
  157. package/dist/src/classes/components/Row.js +44 -0
  158. package/dist/src/classes/components/Row.js.map +1 -0
  159. package/dist/src/classes/components/Section.d.ts +23 -0
  160. package/dist/src/classes/components/Section.d.ts.map +1 -0
  161. package/dist/src/classes/components/Section.js +37 -0
  162. package/dist/src/classes/components/Section.js.map +1 -0
  163. package/dist/src/classes/components/Separator.d.ts +22 -0
  164. package/dist/src/classes/components/Separator.d.ts.map +1 -0
  165. package/dist/src/classes/components/Separator.js +33 -0
  166. package/dist/src/classes/components/Separator.js.map +1 -0
  167. package/dist/src/classes/components/StringSelectMenu.d.ts +15 -0
  168. package/dist/src/classes/components/StringSelectMenu.d.ts.map +1 -0
  169. package/dist/src/classes/components/StringSelectMenu.js +19 -0
  170. package/dist/src/classes/components/StringSelectMenu.js.map +1 -0
  171. package/dist/src/classes/components/TextDisplay.d.ts +10 -0
  172. package/dist/src/classes/components/TextDisplay.d.ts.map +1 -0
  173. package/dist/src/classes/components/TextDisplay.js +22 -0
  174. package/dist/src/classes/components/TextDisplay.js.map +1 -0
  175. package/dist/src/classes/components/TextInput.d.ts +53 -0
  176. package/dist/src/classes/components/TextInput.d.ts.map +1 -0
  177. package/dist/src/classes/components/TextInput.js +57 -0
  178. package/dist/src/classes/components/TextInput.js.map +1 -0
  179. package/dist/src/classes/components/Thumbnail.d.ts +14 -0
  180. package/dist/src/classes/components/Thumbnail.d.ts.map +1 -0
  181. package/dist/src/classes/components/Thumbnail.js +27 -0
  182. package/dist/src/classes/components/Thumbnail.js.map +1 -0
  183. package/dist/src/classes/components/UserSelectMenu.d.ts +15 -0
  184. package/dist/src/classes/components/UserSelectMenu.d.ts.map +1 -0
  185. package/dist/src/classes/components/UserSelectMenu.js +20 -0
  186. package/dist/src/classes/components/UserSelectMenu.js.map +1 -0
  187. package/dist/src/errors/BaseError.d.ts +3 -0
  188. package/dist/src/errors/BaseError.d.ts.map +1 -0
  189. package/dist/src/errors/BaseError.js +3 -0
  190. package/dist/src/errors/BaseError.js.map +1 -0
  191. package/dist/src/errors/DiscordError.d.ts +25 -0
  192. package/dist/src/errors/DiscordError.d.ts.map +1 -0
  193. package/dist/src/errors/DiscordError.js +31 -0
  194. package/dist/src/errors/DiscordError.js.map +1 -0
  195. package/dist/src/errors/RatelimitError.d.ts +15 -0
  196. package/dist/src/errors/RatelimitError.d.ts.map +1 -0
  197. package/dist/src/errors/RatelimitError.js +18 -0
  198. package/dist/src/errors/RatelimitError.js.map +1 -0
  199. package/dist/src/functions/channelFactory.d.ts +14 -0
  200. package/dist/src/functions/channelFactory.d.ts.map +1 -0
  201. package/dist/src/functions/channelFactory.js +39 -0
  202. package/dist/src/functions/channelFactory.js.map +1 -0
  203. package/dist/src/functions/enforceChoicesLimit.d.ts +3 -0
  204. package/dist/src/functions/enforceChoicesLimit.d.ts.map +1 -0
  205. package/dist/src/functions/enforceChoicesLimit.js +17 -0
  206. package/dist/src/functions/enforceChoicesLimit.js.map +1 -0
  207. package/dist/src/functions/errorsMapper.d.ts +14 -0
  208. package/dist/src/functions/errorsMapper.d.ts.map +1 -0
  209. package/dist/src/functions/errorsMapper.js +46 -0
  210. package/dist/src/functions/errorsMapper.js.map +1 -0
  211. package/dist/src/index.d.ts +93 -0
  212. package/dist/src/index.d.ts.map +1 -0
  213. package/dist/src/index.js +100 -0
  214. package/dist/src/index.js.map +1 -0
  215. package/dist/src/internals/AutocompleteInteraction.d.ts +43 -0
  216. package/dist/src/internals/AutocompleteInteraction.d.ts.map +1 -0
  217. package/dist/src/internals/AutocompleteInteraction.js +73 -0
  218. package/dist/src/internals/AutocompleteInteraction.js.map +1 -0
  219. package/dist/src/internals/ButtonInteraction.d.ts +8 -0
  220. package/dist/src/internals/ButtonInteraction.d.ts.map +1 -0
  221. package/dist/src/internals/ButtonInteraction.js +16 -0
  222. package/dist/src/internals/ButtonInteraction.js.map +1 -0
  223. package/dist/src/internals/ChannelSelectMenuInteraction.d.ts +8 -0
  224. package/dist/src/internals/ChannelSelectMenuInteraction.d.ts.map +1 -0
  225. package/dist/src/internals/ChannelSelectMenuInteraction.js +11 -0
  226. package/dist/src/internals/ChannelSelectMenuInteraction.js.map +1 -0
  227. package/dist/src/internals/CommandHandler.d.ts +13 -0
  228. package/dist/src/internals/CommandHandler.d.ts.map +1 -0
  229. package/dist/src/internals/CommandHandler.js +143 -0
  230. package/dist/src/internals/CommandHandler.js.map +1 -0
  231. package/dist/src/internals/CommandInteraction.d.ts +26 -0
  232. package/dist/src/internals/CommandInteraction.d.ts.map +1 -0
  233. package/dist/src/internals/CommandInteraction.js +60 -0
  234. package/dist/src/internals/CommandInteraction.js.map +1 -0
  235. package/dist/src/internals/ComponentHandler.d.ts +14 -0
  236. package/dist/src/internals/ComponentHandler.d.ts.map +1 -0
  237. package/dist/src/internals/ComponentHandler.js +183 -0
  238. package/dist/src/internals/ComponentHandler.js.map +1 -0
  239. package/dist/src/internals/EmojiHandler.d.ts +19 -0
  240. package/dist/src/internals/EmojiHandler.d.ts.map +1 -0
  241. package/dist/src/internals/EmojiHandler.js +34 -0
  242. package/dist/src/internals/EmojiHandler.js.map +1 -0
  243. package/dist/src/internals/EventHandler.d.ts +22 -0
  244. package/dist/src/internals/EventHandler.d.ts.map +1 -0
  245. package/dist/src/internals/EventHandler.js +23 -0
  246. package/dist/src/internals/EventHandler.js.map +1 -0
  247. package/dist/src/internals/EventQueue.d.ts +59 -0
  248. package/dist/src/internals/EventQueue.d.ts.map +1 -0
  249. package/dist/src/internals/EventQueue.js +131 -0
  250. package/dist/src/internals/EventQueue.js.map +1 -0
  251. package/dist/src/internals/FieldsHandler.d.ts +68 -0
  252. package/dist/src/internals/FieldsHandler.d.ts.map +1 -0
  253. package/dist/src/internals/FieldsHandler.js +146 -0
  254. package/dist/src/internals/FieldsHandler.js.map +1 -0
  255. package/dist/src/internals/MentionableSelectMenuInteraction.d.ts +9 -0
  256. package/dist/src/internals/MentionableSelectMenuInteraction.d.ts.map +1 -0
  257. package/dist/src/internals/MentionableSelectMenuInteraction.js +15 -0
  258. package/dist/src/internals/MentionableSelectMenuInteraction.js.map +1 -0
  259. package/dist/src/internals/ModalHandler.d.ts +17 -0
  260. package/dist/src/internals/ModalHandler.d.ts.map +1 -0
  261. package/dist/src/internals/ModalHandler.js +35 -0
  262. package/dist/src/internals/ModalHandler.js.map +1 -0
  263. package/dist/src/internals/ModalInteraction.d.ts +21 -0
  264. package/dist/src/internals/ModalInteraction.d.ts.map +1 -0
  265. package/dist/src/internals/ModalInteraction.js +41 -0
  266. package/dist/src/internals/ModalInteraction.js.map +1 -0
  267. package/dist/src/internals/OptionsHandler.d.ts +108 -0
  268. package/dist/src/internals/OptionsHandler.d.ts.map +1 -0
  269. package/dist/src/internals/OptionsHandler.js +237 -0
  270. package/dist/src/internals/OptionsHandler.js.map +1 -0
  271. package/dist/src/internals/RoleSelectMenuInteraction.d.ts +9 -0
  272. package/dist/src/internals/RoleSelectMenuInteraction.d.ts.map +1 -0
  273. package/dist/src/internals/RoleSelectMenuInteraction.js +14 -0
  274. package/dist/src/internals/RoleSelectMenuInteraction.js.map +1 -0
  275. package/dist/src/internals/StringSelectMenuInteraction.d.ts +9 -0
  276. package/dist/src/internals/StringSelectMenuInteraction.d.ts.map +1 -0
  277. package/dist/src/internals/StringSelectMenuInteraction.js +14 -0
  278. package/dist/src/internals/StringSelectMenuInteraction.js.map +1 -0
  279. package/dist/src/internals/TemporaryListenerManager.d.ts +20 -0
  280. package/dist/src/internals/TemporaryListenerManager.d.ts.map +1 -0
  281. package/dist/src/internals/TemporaryListenerManager.js +59 -0
  282. package/dist/src/internals/TemporaryListenerManager.js.map +1 -0
  283. package/dist/src/internals/UserSelectMenuInteraction.d.ts +9 -0
  284. package/dist/src/internals/UserSelectMenuInteraction.d.ts.map +1 -0
  285. package/dist/src/internals/UserSelectMenuInteraction.js +14 -0
  286. package/dist/src/internals/UserSelectMenuInteraction.js.map +1 -0
  287. package/dist/src/permissions.d.ts +56 -0
  288. package/dist/src/permissions.d.ts.map +1 -0
  289. package/dist/src/permissions.js +4 -0
  290. package/dist/src/permissions.js.map +1 -0
  291. package/dist/src/plugins/client-manager/ClientManager.d.ts +151 -0
  292. package/dist/src/plugins/client-manager/ClientManager.d.ts.map +1 -0
  293. package/dist/src/plugins/client-manager/ClientManager.js +253 -0
  294. package/dist/src/plugins/client-manager/ClientManager.js.map +1 -0
  295. package/dist/src/plugins/client-manager/index.d.ts +2 -0
  296. package/dist/src/plugins/client-manager/index.d.ts.map +1 -0
  297. package/dist/src/plugins/client-manager/index.js +2 -0
  298. package/dist/src/plugins/client-manager/index.js.map +1 -0
  299. package/dist/src/plugins/command-data/CommandDataPlugin.d.ts +16 -0
  300. package/dist/src/plugins/command-data/CommandDataPlugin.d.ts.map +1 -0
  301. package/dist/src/plugins/command-data/CommandDataPlugin.js +43 -0
  302. package/dist/src/plugins/command-data/CommandDataPlugin.js.map +1 -0
  303. package/dist/src/plugins/command-data/index.d.ts +2 -0
  304. package/dist/src/plugins/command-data/index.d.ts.map +1 -0
  305. package/dist/src/plugins/command-data/index.js +2 -0
  306. package/dist/src/plugins/command-data/index.js.map +1 -0
  307. package/dist/src/plugins/gateway/BabyCache.d.ts +16 -0
  308. package/dist/src/plugins/gateway/BabyCache.d.ts.map +1 -0
  309. package/dist/src/plugins/gateway/BabyCache.js +53 -0
  310. package/dist/src/plugins/gateway/BabyCache.js.map +1 -0
  311. package/dist/src/plugins/gateway/GatewayPlugin.d.ts +90 -0
  312. package/dist/src/plugins/gateway/GatewayPlugin.d.ts.map +1 -0
  313. package/dist/src/plugins/gateway/GatewayPlugin.js +516 -0
  314. package/dist/src/plugins/gateway/GatewayPlugin.js.map +1 -0
  315. package/dist/src/plugins/gateway/InteractionEventListener.d.ts +8 -0
  316. package/dist/src/plugins/gateway/InteractionEventListener.d.ts.map +1 -0
  317. package/dist/src/plugins/gateway/InteractionEventListener.js +9 -0
  318. package/dist/src/plugins/gateway/InteractionEventListener.js.map +1 -0
  319. package/dist/src/plugins/gateway/index.d.ts +7 -0
  320. package/dist/src/plugins/gateway/index.d.ts.map +1 -0
  321. package/dist/src/plugins/gateway/index.js +7 -0
  322. package/dist/src/plugins/gateway/index.js.map +1 -0
  323. package/dist/src/plugins/gateway/types.d.ts +130 -0
  324. package/dist/src/plugins/gateway/types.d.ts.map +1 -0
  325. package/dist/src/plugins/gateway/types.js +5 -0
  326. package/dist/src/plugins/gateway/types.js.map +1 -0
  327. package/dist/src/plugins/gateway/utils/heartbeat.d.ts +18 -0
  328. package/dist/src/plugins/gateway/utils/heartbeat.d.ts.map +1 -0
  329. package/dist/src/plugins/gateway/utils/heartbeat.js +33 -0
  330. package/dist/src/plugins/gateway/utils/heartbeat.js.map +1 -0
  331. package/dist/src/plugins/gateway/utils/monitor.d.ts +37 -0
  332. package/dist/src/plugins/gateway/utils/monitor.d.ts.map +1 -0
  333. package/dist/src/plugins/gateway/utils/monitor.js +88 -0
  334. package/dist/src/plugins/gateway/utils/monitor.js.map +1 -0
  335. package/dist/src/plugins/gateway/utils/payload.d.ts +24 -0
  336. package/dist/src/plugins/gateway/utils/payload.d.ts.map +1 -0
  337. package/dist/src/plugins/gateway/utils/payload.js +65 -0
  338. package/dist/src/plugins/gateway/utils/payload.js.map +1 -0
  339. package/dist/src/plugins/gateway/utils/rateLimit.d.ts +41 -0
  340. package/dist/src/plugins/gateway/utils/rateLimit.d.ts.map +1 -0
  341. package/dist/src/plugins/gateway/utils/rateLimit.js +61 -0
  342. package/dist/src/plugins/gateway/utils/rateLimit.js.map +1 -0
  343. package/dist/src/plugins/gateway-forwarder/GatewayForwarderPlugin.d.ts +30 -0
  344. package/dist/src/plugins/gateway-forwarder/GatewayForwarderPlugin.d.ts.map +1 -0
  345. package/dist/src/plugins/gateway-forwarder/GatewayForwarderPlugin.js +80 -0
  346. package/dist/src/plugins/gateway-forwarder/GatewayForwarderPlugin.js.map +1 -0
  347. package/dist/src/plugins/gateway-forwarder/ShardedGatewayForwarderPlugin.d.ts +9 -0
  348. package/dist/src/plugins/gateway-forwarder/ShardedGatewayForwarderPlugin.d.ts.map +1 -0
  349. package/dist/src/plugins/gateway-forwarder/ShardedGatewayForwarderPlugin.js +7 -0
  350. package/dist/src/plugins/gateway-forwarder/ShardedGatewayForwarderPlugin.js.map +1 -0
  351. package/dist/src/plugins/gateway-forwarder/index.d.ts +4 -0
  352. package/dist/src/plugins/gateway-forwarder/index.d.ts.map +1 -0
  353. package/dist/src/plugins/gateway-forwarder/index.js +4 -0
  354. package/dist/src/plugins/gateway-forwarder/index.js.map +1 -0
  355. package/dist/src/plugins/linked-roles/LinkedRoles.d.ts +70 -0
  356. package/dist/src/plugins/linked-roles/LinkedRoles.d.ts.map +1 -0
  357. package/dist/src/plugins/linked-roles/LinkedRoles.js +211 -0
  358. package/dist/src/plugins/linked-roles/LinkedRoles.js.map +1 -0
  359. package/dist/src/plugins/linked-roles/index.d.ts +3 -0
  360. package/dist/src/plugins/linked-roles/index.d.ts.map +1 -0
  361. package/dist/src/plugins/linked-roles/index.js +3 -0
  362. package/dist/src/plugins/linked-roles/index.js.map +1 -0
  363. package/dist/src/plugins/linked-roles/types.d.ts +94 -0
  364. package/dist/src/plugins/linked-roles/types.d.ts.map +1 -0
  365. package/dist/src/plugins/linked-roles/types.js +39 -0
  366. package/dist/src/plugins/linked-roles/types.js.map +1 -0
  367. package/dist/src/plugins/paginator/GoToPageModal.d.ts +18 -0
  368. package/dist/src/plugins/paginator/GoToPageModal.d.ts.map +1 -0
  369. package/dist/src/plugins/paginator/GoToPageModal.js +56 -0
  370. package/dist/src/plugins/paginator/GoToPageModal.js.map +1 -0
  371. package/dist/src/plugins/paginator/Paginator.d.ts +53 -0
  372. package/dist/src/plugins/paginator/Paginator.d.ts.map +1 -0
  373. package/dist/src/plugins/paginator/Paginator.js +183 -0
  374. package/dist/src/plugins/paginator/Paginator.js.map +1 -0
  375. package/dist/src/plugins/paginator/index.d.ts +11 -0
  376. package/dist/src/plugins/paginator/index.d.ts.map +1 -0
  377. package/dist/src/plugins/paginator/index.js +11 -0
  378. package/dist/src/plugins/paginator/index.js.map +1 -0
  379. package/dist/src/plugins/sharding/ShardingPlugin.d.ts +44 -0
  380. package/dist/src/plugins/sharding/ShardingPlugin.d.ts.map +1 -0
  381. package/dist/src/plugins/sharding/ShardingPlugin.js +119 -0
  382. package/dist/src/plugins/sharding/ShardingPlugin.js.map +1 -0
  383. package/dist/src/plugins/sharding/index.d.ts +3 -0
  384. package/dist/src/plugins/sharding/index.d.ts.map +1 -0
  385. package/dist/src/plugins/sharding/index.js +3 -0
  386. package/dist/src/plugins/sharding/index.js.map +1 -0
  387. package/dist/src/plugins/voice/GuildDeleteListener.d.ts +7 -0
  388. package/dist/src/plugins/voice/GuildDeleteListener.d.ts.map +1 -0
  389. package/dist/src/plugins/voice/GuildDeleteListener.js +11 -0
  390. package/dist/src/plugins/voice/GuildDeleteListener.js.map +1 -0
  391. package/dist/src/plugins/voice/VoicePlugin.d.ts +15 -0
  392. package/dist/src/plugins/voice/VoicePlugin.d.ts.map +1 -0
  393. package/dist/src/plugins/voice/VoicePlugin.js +58 -0
  394. package/dist/src/plugins/voice/VoicePlugin.js.map +1 -0
  395. package/dist/src/plugins/voice/VoiceServerUpdateListener.d.ts +10 -0
  396. package/dist/src/plugins/voice/VoiceServerUpdateListener.d.ts.map +1 -0
  397. package/dist/src/plugins/voice/VoiceServerUpdateListener.js +16 -0
  398. package/dist/src/plugins/voice/VoiceServerUpdateListener.js.map +1 -0
  399. package/dist/src/plugins/voice/VoiceStateUpdateListener.d.ts +10 -0
  400. package/dist/src/plugins/voice/VoiceStateUpdateListener.d.ts.map +1 -0
  401. package/dist/src/plugins/voice/VoiceStateUpdateListener.js +21 -0
  402. package/dist/src/plugins/voice/VoiceStateUpdateListener.js.map +1 -0
  403. package/dist/src/plugins/voice/index.d.ts +2 -0
  404. package/dist/src/plugins/voice/index.d.ts.map +1 -0
  405. package/dist/src/plugins/voice/index.js +2 -0
  406. package/dist/src/plugins/voice/index.js.map +1 -0
  407. package/dist/src/structures/DmChannel.d.ts +22 -0
  408. package/dist/src/structures/DmChannel.d.ts.map +1 -0
  409. package/dist/src/structures/DmChannel.js +33 -0
  410. package/dist/src/structures/DmChannel.js.map +1 -0
  411. package/dist/src/structures/Emoji.d.ts +75 -0
  412. package/dist/src/structures/Emoji.d.ts.map +1 -0
  413. package/dist/src/structures/Emoji.js +156 -0
  414. package/dist/src/structures/Emoji.js.map +1 -0
  415. package/dist/src/structures/GroupDmChannel.d.ts +75 -0
  416. package/dist/src/structures/GroupDmChannel.d.ts.map +1 -0
  417. package/dist/src/structures/GroupDmChannel.js +131 -0
  418. package/dist/src/structures/GroupDmChannel.js.map +1 -0
  419. package/dist/src/structures/Guild.d.ts +338 -0
  420. package/dist/src/structures/Guild.d.ts.map +1 -0
  421. package/dist/src/structures/Guild.js +715 -0
  422. package/dist/src/structures/Guild.js.map +1 -0
  423. package/dist/src/structures/GuildAnnouncementChannel.d.ts +21 -0
  424. package/dist/src/structures/GuildAnnouncementChannel.d.ts.map +1 -0
  425. package/dist/src/structures/GuildAnnouncementChannel.js +35 -0
  426. package/dist/src/structures/GuildAnnouncementChannel.js.map +1 -0
  427. package/dist/src/structures/GuildCategoryChannel.d.ts +23 -0
  428. package/dist/src/structures/GuildCategoryChannel.d.ts.map +1 -0
  429. package/dist/src/structures/GuildCategoryChannel.js +34 -0
  430. package/dist/src/structures/GuildCategoryChannel.js.map +1 -0
  431. package/dist/src/structures/GuildForumChannel.d.ts +14 -0
  432. package/dist/src/structures/GuildForumChannel.d.ts.map +1 -0
  433. package/dist/src/structures/GuildForumChannel.js +15 -0
  434. package/dist/src/structures/GuildForumChannel.js.map +1 -0
  435. package/dist/src/structures/GuildMediaChannel.d.ts +9 -0
  436. package/dist/src/structures/GuildMediaChannel.d.ts.map +1 -0
  437. package/dist/src/structures/GuildMediaChannel.js +7 -0
  438. package/dist/src/structures/GuildMediaChannel.js.map +1 -0
  439. package/dist/src/structures/GuildMember.d.ts +145 -0
  440. package/dist/src/structures/GuildMember.d.ts.map +1 -0
  441. package/dist/src/structures/GuildMember.js +320 -0
  442. package/dist/src/structures/GuildMember.js.map +1 -0
  443. package/dist/src/structures/GuildScheduledEvent.d.ts +121 -0
  444. package/dist/src/structures/GuildScheduledEvent.d.ts.map +1 -0
  445. package/dist/src/structures/GuildScheduledEvent.js +228 -0
  446. package/dist/src/structures/GuildScheduledEvent.js.map +1 -0
  447. package/dist/src/structures/GuildStageOrVoiceChannel.d.ts +40 -0
  448. package/dist/src/structures/GuildStageOrVoiceChannel.d.ts.map +1 -0
  449. package/dist/src/structures/GuildStageOrVoiceChannel.js +63 -0
  450. package/dist/src/structures/GuildStageOrVoiceChannel.js.map +1 -0
  451. package/dist/src/structures/GuildTextChannel.d.ts +24 -0
  452. package/dist/src/structures/GuildTextChannel.d.ts.map +1 -0
  453. package/dist/src/structures/GuildTextChannel.js +41 -0
  454. package/dist/src/structures/GuildTextChannel.js.map +1 -0
  455. package/dist/src/structures/GuildThreadChannel.d.ts +90 -0
  456. package/dist/src/structures/GuildThreadChannel.d.ts.map +1 -0
  457. package/dist/src/structures/GuildThreadChannel.js +165 -0
  458. package/dist/src/structures/GuildThreadChannel.js.map +1 -0
  459. package/dist/src/structures/Message.d.ts +174 -0
  460. package/dist/src/structures/Message.d.ts.map +1 -0
  461. package/dist/src/structures/Message.js +417 -0
  462. package/dist/src/structures/Message.js.map +1 -0
  463. package/dist/src/structures/Poll.d.ts +29 -0
  464. package/dist/src/structures/Poll.d.ts.map +1 -0
  465. package/dist/src/structures/Poll.js +51 -0
  466. package/dist/src/structures/Poll.js.map +1 -0
  467. package/dist/src/structures/Role.d.ts +151 -0
  468. package/dist/src/structures/Role.d.ts.map +1 -0
  469. package/dist/src/structures/Role.js +291 -0
  470. package/dist/src/structures/Role.js.map +1 -0
  471. package/dist/src/structures/ThreadMember.d.ts +40 -0
  472. package/dist/src/structures/ThreadMember.d.ts.map +1 -0
  473. package/dist/src/structures/ThreadMember.js +79 -0
  474. package/dist/src/structures/ThreadMember.js.map +1 -0
  475. package/dist/src/structures/User.d.ts +104 -0
  476. package/dist/src/structures/User.d.ts.map +1 -0
  477. package/dist/src/structures/User.js +199 -0
  478. package/dist/src/structures/User.js.map +1 -0
  479. package/dist/src/structures/Webhook.d.ts +160 -0
  480. package/dist/src/structures/Webhook.d.ts.map +1 -0
  481. package/dist/src/structures/Webhook.js +287 -0
  482. package/dist/src/structures/Webhook.js.map +1 -0
  483. package/dist/src/types/index.d.ts +199 -0
  484. package/dist/src/types/index.d.ts.map +1 -0
  485. package/dist/src/types/index.js +2 -0
  486. package/dist/src/types/index.js.map +1 -0
  487. package/dist/src/types/listeners.d.ts +579 -0
  488. package/dist/src/types/listeners.d.ts.map +1 -0
  489. package/dist/src/types/listeners.js +14 -0
  490. package/dist/src/types/listeners.js.map +1 -0
  491. package/dist/src/utils/LRUCache.d.ts +46 -0
  492. package/dist/src/utils/LRUCache.d.ts.map +1 -0
  493. package/dist/src/utils/LRUCache.js +78 -0
  494. package/dist/src/utils/LRUCache.js.map +1 -0
  495. package/dist/src/utils/cdn.d.ts +31 -0
  496. package/dist/src/utils/cdn.d.ts.map +1 -0
  497. package/dist/src/utils/cdn.js +18 -0
  498. package/dist/src/utils/cdn.js.map +1 -0
  499. package/dist/src/utils/customIdParser.d.ts +3 -0
  500. package/dist/src/utils/customIdParser.d.ts.map +1 -0
  501. package/dist/src/utils/customIdParser.js +38 -0
  502. package/dist/src/utils/customIdParser.js.map +1 -0
  503. package/dist/src/utils/index.d.ts +6 -0
  504. package/dist/src/utils/index.d.ts.map +1 -0
  505. package/dist/src/utils/index.js +6 -0
  506. package/dist/src/utils/index.js.map +1 -0
  507. package/dist/src/utils/payload.d.ts +4 -0
  508. package/dist/src/utils/payload.d.ts.map +1 -0
  509. package/dist/src/utils/payload.js +61 -0
  510. package/dist/src/utils/payload.js.map +1 -0
  511. package/dist/src/utils/proxy.d.ts +27 -0
  512. package/dist/src/utils/proxy.d.ts.map +1 -0
  513. package/dist/src/utils/proxy.js +135 -0
  514. package/dist/src/utils/proxy.js.map +1 -0
  515. package/dist/src/utils/verification.d.ts +4 -0
  516. package/dist/src/utils/verification.d.ts.map +1 -0
  517. package/dist/src/utils/verification.js +52 -0
  518. package/dist/src/utils/verification.js.map +1 -0
  519. package/dist/tsconfig.tsbuildinfo +1 -0
  520. package/package.json +43 -0
@@ -0,0 +1 @@
1
+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,EAAE,EAAE,CAAC,IAAI,IAAI,CAAC,IAAI,CAAC,MAAM,EAAE,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAA;IACtE,CAAC;CACD"}
@@ -0,0 +1,40 @@
1
+ import { type APIGuildStageVoiceChannel, type APIGuildVoiceChannel, type ChannelType, VideoQualityMode } from "discord-api-types/v10";
2
+ import { BaseGuildChannel } from "../abstracts/BaseGuildChannel.js";
3
+ import type { IfPartial } from "../types/index.js";
4
+ export declare abstract class GuildStageOrVoiceChannel<Type extends ChannelType.GuildStageVoice | ChannelType.GuildVoice, IsPartial extends boolean = false> extends BaseGuildChannel<Type, IsPartial> {
5
+ rawData: APIGuildStageVoiceChannel | APIGuildVoiceChannel | null;
6
+ /**
7
+ * The position of the channel in the channel list.
8
+ */
9
+ get position(): IfPartial<IsPartial, number>;
10
+ /**
11
+ * Set the position of the channel
12
+ * @param position The new position of the channel
13
+ */
14
+ setPosition(position: number): Promise<void>;
15
+ /**
16
+ * The bitrate of the channel.
17
+ */
18
+ get bitrate(): IfPartial<IsPartial, number | undefined>;
19
+ /**
20
+ * The user limit of the channel.
21
+ */
22
+ get userLimit(): IfPartial<IsPartial, number | undefined>;
23
+ /**
24
+ * The RTC region of the channel.
25
+ * This is automatic when set to `null`.
26
+ */
27
+ get rtcRegion(): IfPartial<IsPartial, string | null>;
28
+ /**
29
+ * The video quality mode of the channel.
30
+ * 1 when not present.
31
+ */
32
+ get videoQualityMode(): IfPartial<IsPartial, VideoQualityMode>;
33
+ }
34
+ export declare class GuildStageChannel<IsPartial extends boolean = false> extends GuildStageOrVoiceChannel<ChannelType.GuildStageVoice, IsPartial> {
35
+ rawData: APIGuildStageVoiceChannel | null;
36
+ }
37
+ export declare class GuildVoiceChannel<IsPartial extends boolean = false> extends GuildStageOrVoiceChannel<ChannelType.GuildVoice, IsPartial> {
38
+ rawData: APIGuildVoiceChannel | null;
39
+ }
40
+ //# sourceMappingURL=GuildStageOrVoiceChannel.d.ts.map
@@ -0,0 +1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BAAa,iBAAiB,CAC7B,SAAS,SAAS,OAAO,GAAG,KAAK,CAChC,SAAQ,wBAAwB,CAAC,WAAW,CAAC,UAAU,EAAE,SAAS,CAAC;IAC5D,OAAO,EAAE,oBAAoB,GAAG,IAAI,CAAA;CAC5C"}
@@ -0,0 +1,63 @@
1
+ import { Routes, VideoQualityMode } from "discord-api-types/v10";
2
+ import { BaseGuildChannel } from "../abstracts/BaseGuildChannel.js";
3
+ export class GuildStageOrVoiceChannel extends BaseGuildChannel {
4
+ /**
5
+ * The position of the channel in the channel list.
6
+ */
7
+ get position() {
8
+ if (!this.rawData)
9
+ return undefined;
10
+ return this.rawData.position;
11
+ }
12
+ /**
13
+ * Set the position of the channel
14
+ * @param position The new position of the channel
15
+ */
16
+ async setPosition(position) {
17
+ await this.client.rest.patch(Routes.channel(this.id), {
18
+ body: {
19
+ position
20
+ }
21
+ });
22
+ this.setField("position", position);
23
+ }
24
+ /**
25
+ * The bitrate of the channel.
26
+ */
27
+ get bitrate() {
28
+ if (!this.rawData)
29
+ return undefined;
30
+ return this.rawData.bitrate;
31
+ }
32
+ /**
33
+ * The user limit of the channel.
34
+ */
35
+ get userLimit() {
36
+ if (!this.rawData)
37
+ return undefined;
38
+ return this.rawData.user_limit;
39
+ }
40
+ /**
41
+ * The RTC region of the channel.
42
+ * This is automatic when set to `null`.
43
+ */
44
+ get rtcRegion() {
45
+ if (!this.rawData)
46
+ return undefined;
47
+ return this.rawData.rtc_region ?? null;
48
+ }
49
+ /**
50
+ * The video quality mode of the channel.
51
+ * 1 when not present.
52
+ */
53
+ get videoQualityMode() {
54
+ if (!this.rawData)
55
+ return undefined;
56
+ return this.rawData.video_quality_mode ?? VideoQualityMode.Auto;
57
+ }
58
+ }
59
+ export class GuildStageChannel extends GuildStageOrVoiceChannel {
60
+ }
61
+ export class GuildVoiceChannel extends GuildStageOrVoiceChannel {
62
+ }
63
+ //# sourceMappingURL=GuildStageOrVoiceChannel.js.map
@@ -0,0 +1 @@
1
+ {"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OAAO;YAAE,OAAO,SAAkB,CAAA;QAC5C,OAAO,IAAI,CAAC,OAAO,CAAC,kBAAkB,IAAI,gBAAgB,CAAC,IAAI,CAAA;IAChE,CAAC;CACD;AAED,MAAM,OAAO,iBAEX,SAAQ,wBAAgE;CAEzE;AACD,MAAM,OAAO,iBAEX,SAAQ,wBAA2D;CAEpE"}
@@ -0,0 +1,24 @@
1
+ import { type APIGuildTextChannel, type ChannelType } from "discord-api-types/v10";
2
+ import { BaseGuildTextChannel } from "../abstracts/BaseGuildTextChannel.js";
3
+ import type { IfPartial } from "../types/index.js";
4
+ export declare class GuildTextChannel<IsPartial extends boolean = false> extends BaseGuildTextChannel<ChannelType.GuildText, IsPartial> {
5
+ rawData: APIGuildTextChannel<ChannelType.GuildText> | null;
6
+ /**
7
+ * The position of the channel in the channel list.
8
+ */
9
+ get position(): IfPartial<IsPartial, number>;
10
+ /**
11
+ * Set the position of the channel
12
+ * @param position The new position of the channel
13
+ */
14
+ setPosition(position: number): Promise<void>;
15
+ /**
16
+ * The default auto archive duration of threads in the channel.
17
+ */
18
+ get defaultAutoArchiveDuration(): IfPartial<IsPartial, number | null>;
19
+ /**
20
+ * The default thread rate limit per user of the channel.
21
+ */
22
+ get defaultThreadRateLimitPerUser(): IfPartial<IsPartial, number | null>;
23
+ }
24
+ //# sourceMappingURL=GuildTextChannel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GuildTextChannel.d.ts","sourceRoot":"","sources":["../../../src/structures/GuildTextChannel.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,mBAAmB,EACxB,KAAK,WAAW,EAEhB,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAA;AAC3E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAElD,qBAAa,gBAAgB,CAC5B,SAAS,SAAS,OAAO,GAAG,KAAK,CAChC,SAAQ,oBAAoB,CAAC,WAAW,CAAC,SAAS,EAAE,SAAS,CAAC;IACvD,OAAO,EAAE,mBAAmB,CAAC,WAAW,CAAC,SAAS,CAAC,GAAG,IAAI,CAAA;IAElE;;OAEG;IACH,IAAI,QAAQ,IAAI,SAAS,CAAC,SAAS,EAAE,MAAM,CAAC,CAG3C;IAED;;;OAGG;IACG,WAAW,CAAC,QAAQ,EAAE,MAAM;IASlC;;OAEG;IACH,IAAI,0BAA0B,IAAI,SAAS,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC,CAGpE;IAED;;OAEG;IACH,IAAI,6BAA6B,IAAI,SAAS,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC,CAGvE;CACD"}
@@ -0,0 +1,41 @@
1
+ import { Routes } from "discord-api-types/v10";
2
+ import { BaseGuildTextChannel } from "../abstracts/BaseGuildTextChannel.js";
3
+ export class GuildTextChannel extends BaseGuildTextChannel {
4
+ /**
5
+ * The position of the channel in the channel list.
6
+ */
7
+ get position() {
8
+ if (!this.rawData)
9
+ return undefined;
10
+ return this.rawData.position;
11
+ }
12
+ /**
13
+ * Set the position of the channel
14
+ * @param position The new position of the channel
15
+ */
16
+ async setPosition(position) {
17
+ await this.client.rest.patch(Routes.channel(this.id), {
18
+ body: {
19
+ position
20
+ }
21
+ });
22
+ this.setField("position", position);
23
+ }
24
+ /**
25
+ * The default auto archive duration of threads in the channel.
26
+ */
27
+ get defaultAutoArchiveDuration() {
28
+ if (!this.rawData)
29
+ return undefined;
30
+ return this.rawData.default_auto_archive_duration ?? null;
31
+ }
32
+ /**
33
+ * The default thread rate limit per user of the channel.
34
+ */
35
+ get defaultThreadRateLimitPerUser() {
36
+ if (!this.rawData)
37
+ return undefined;
38
+ return this.rawData.default_thread_rate_limit_per_user ?? null;
39
+ }
40
+ }
41
+ //# sourceMappingURL=GuildTextChannel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GuildTextChannel.js","sourceRoot":"","sources":["../../../src/structures/GuildTextChannel.ts"],"names":[],"mappings":"AAAA,OAAO,EAGN,MAAM,EACN,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAA;AAG3E,MAAM,OAAO,gBAEX,SAAQ,oBAAsD;IAG/D;;OAEG;IACH,IAAI,QAAQ;QACX,IAAI,CAAC,IAAI,CAAC,OAAO;YAAE,OAAO,SAAkB,CAAA;QAC5C,OAAO,IAAI,CAAC,OAAO,CAAC,QAAQ,CAAA;IAC7B,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,WAAW,CAAC,QAAgB;QACjC,MAAM,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE;YACrD,IAAI,EAAE;gBACL,QAAQ;aACR;SACD,CAAC,CAAA;QACF,IAAI,CAAC,QAAQ,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAA;IACpC,CAAC;IAED;;OAEG;IACH,IAAI,0BAA0B;QAC7B,IAAI,CAAC,IAAI,CAAC,OAAO;YAAE,OAAO,SAAkB,CAAA;QAC5C,OAAO,IAAI,CAAC,OAAO,CAAC,6BAA6B,IAAI,IAAI,CAAA;IAC1D,CAAC;IAED;;OAEG;IACH,IAAI,6BAA6B;QAChC,IAAI,CAAC,IAAI,CAAC,OAAO;YAAE,OAAO,SAAkB,CAAA;QAC5C,OAAO,IAAI,CAAC,OAAO,CAAC,kCAAkC,IAAI,IAAI,CAAA;IAC/D,CAAC;CACD"}
@@ -0,0 +1,90 @@
1
+ import { type APIThreadChannel, type ThreadChannelType } from "discord-api-types/v10";
2
+ import { BaseGuildChannel } from "../abstracts/BaseGuildChannel.js";
3
+ import type { IfPartial } from "../types/index.js";
4
+ export declare class GuildThreadChannel<Type extends ThreadChannelType, IsPartial extends boolean = false> extends BaseGuildChannel<Type, IsPartial> {
5
+ rawData: APIThreadChannel | null;
6
+ /**
7
+ * Whether the thread is archived.
8
+ */
9
+ get archived(): IfPartial<IsPartial, boolean | undefined>;
10
+ /**
11
+ * The duration until the thread is auto archived.
12
+ */
13
+ get autoArchiveDuration(): IfPartial<IsPartial, number | undefined>;
14
+ /**
15
+ * The timestamp of when the thread was archived.
16
+ */
17
+ get archiveTimestamp(): IfPartial<IsPartial, string | undefined>;
18
+ /**
19
+ * Whether the thread is locked.
20
+ */
21
+ get locked(): IfPartial<IsPartial, boolean | undefined>;
22
+ /**
23
+ * Whether non-moderators can add other non-moderators to a thread; only available on private threads
24
+ */
25
+ get invitable(): IfPartial<IsPartial, boolean | undefined>;
26
+ /**
27
+ * The timestamp of when the thread was created.
28
+ */
29
+ get createTimestamp(): IfPartial<IsPartial, string | undefined>;
30
+ /**
31
+ * The number of messages in the thread.
32
+ */
33
+ get messageCount(): IfPartial<IsPartial, number | undefined>;
34
+ /**
35
+ * The number of members in the thread.
36
+ *
37
+ * @remarks
38
+ * This is only accurate until 50, after that, Discord stops counting.
39
+ */
40
+ get memberCount(): IfPartial<IsPartial, number | undefined>;
41
+ /**
42
+ * The ID of the owner of the thread.
43
+ */
44
+ get ownerId(): IfPartial<IsPartial, string | undefined>;
45
+ /**
46
+ * The number of messages sent in the thread.
47
+ */
48
+ get totalMessageSent(): IfPartial<IsPartial, number | undefined>;
49
+ /**
50
+ * The tags applied to the thread.
51
+ */
52
+ get appliedTags(): IfPartial<IsPartial, string[] | undefined>;
53
+ /**
54
+ * Join the thread
55
+ */
56
+ join(): Promise<void>;
57
+ /**
58
+ * Add a member to the thread
59
+ */
60
+ addMember(userId: string): Promise<void>;
61
+ /**
62
+ * Leave the thread
63
+ */
64
+ leave(): Promise<void>;
65
+ /**
66
+ * Get the pinned messages in the thread
67
+ */
68
+ removeMember(userId: string): Promise<void>;
69
+ /**
70
+ * Archive the thread
71
+ */
72
+ archive(): Promise<void>;
73
+ /**
74
+ * Unarchive the thread
75
+ */
76
+ unarchive(): Promise<void>;
77
+ /**
78
+ * Set the auto archive duration of the thread
79
+ */
80
+ setAutoArchiveDuration(duration: number): Promise<void>;
81
+ /**
82
+ * Lock the thread
83
+ */
84
+ lock(): Promise<void>;
85
+ /**
86
+ * Unlock the thread
87
+ */
88
+ unlock(): Promise<void>;
89
+ }
90
+ //# sourceMappingURL=GuildThreadChannel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GuildThreadChannel.d.ts","sourceRoot":"","sources":["../../../src/structures/GuildThreadChannel.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,gBAAgB,EAErB,KAAK,iBAAiB,EACtB,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAA;AACnE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAElD,qBAAa,kBAAkB,CAC9B,IAAI,SAAS,iBAAiB,EAC9B,SAAS,SAAS,OAAO,GAAG,KAAK,CAChC,SAAQ,gBAAgB,CAAC,IAAI,EAAE,SAAS,CAAC;IAElC,OAAO,EAAE,gBAAgB,GAAG,IAAI,CAAA;IAExC;;OAEG;IACH,IAAI,QAAQ,IAAI,SAAS,CAAC,SAAS,EAAE,OAAO,GAAG,SAAS,CAAC,CAGxD;IAED;;OAEG;IACH,IAAI,mBAAmB,IAAI,SAAS,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC,CAGlE;IAED;;OAEG;IACH,IAAI,gBAAgB,IAAI,SAAS,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC,CAG/D;IAED;;OAEG;IACH,IAAI,MAAM,IAAI,SAAS,CAAC,SAAS,EAAE,OAAO,GAAG,SAAS,CAAC,CAGtD;IAED;;OAEG;IACH,IAAI,SAAS,IAAI,SAAS,CAAC,SAAS,EAAE,OAAO,GAAG,SAAS,CAAC,CAGzD;IAED;;OAEG;IACH,IAAI,eAAe,IAAI,SAAS,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC,CAG9D;IAED;;OAEG;IACH,IAAI,YAAY,IAAI,SAAS,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC,CAG3D;IAED;;;;;OAKG;IACH,IAAI,WAAW,IAAI,SAAS,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC,CAG1D;IAED;;OAEG;IACH,IAAI,OAAO,IAAI,SAAS,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC,CAGtD;IAED;;OAEG;IACH,IAAI,gBAAgB,IAAI,SAAS,CAAC,SAAS,EAAE,MAAM,GAAG,SAAS,CAAC,CAG/D;IAED;;OAEG;IACH,IAAI,WAAW,IAAI,SAAS,CAAC,SAAS,EAAE,MAAM,EAAE,GAAG,SAAS,CAAC,CAG5D;IAED;;OAEG;IACG,IAAI;IAIV;;OAEG;IACG,SAAS,CAAC,MAAM,EAAE,MAAM;IAI9B;;OAEG;IACG,KAAK;IAIX;;OAEG;IACG,YAAY,CAAC,MAAM,EAAE,MAAM;IAIjC;;OAEG;IACG,OAAO;IAOb;;OAEG;IACG,SAAS;IAOf;;OAEG;IACG,sBAAsB,CAAC,QAAQ,EAAE,MAAM;IAW7C;;OAEG;IACG,IAAI;IAOV;;OAEG;IACG,MAAM;CAMZ"}
@@ -0,0 +1,165 @@
1
+ import { Routes } from "discord-api-types/v10";
2
+ import { BaseGuildChannel } from "../abstracts/BaseGuildChannel.js";
3
+ export class GuildThreadChannel extends BaseGuildChannel {
4
+ /**
5
+ * Whether the thread is archived.
6
+ */
7
+ get archived() {
8
+ if (!this.rawData)
9
+ return undefined;
10
+ return this.rawData.thread_metadata?.archived;
11
+ }
12
+ /**
13
+ * The duration until the thread is auto archived.
14
+ */
15
+ get autoArchiveDuration() {
16
+ if (!this.rawData)
17
+ return undefined;
18
+ return this.rawData.thread_metadata?.auto_archive_duration;
19
+ }
20
+ /**
21
+ * The timestamp of when the thread was archived.
22
+ */
23
+ get archiveTimestamp() {
24
+ if (!this.rawData)
25
+ return undefined;
26
+ return this.rawData.thread_metadata?.archive_timestamp;
27
+ }
28
+ /**
29
+ * Whether the thread is locked.
30
+ */
31
+ get locked() {
32
+ if (!this.rawData)
33
+ return undefined;
34
+ return this.rawData.thread_metadata?.locked;
35
+ }
36
+ /**
37
+ * Whether non-moderators can add other non-moderators to a thread; only available on private threads
38
+ */
39
+ get invitable() {
40
+ if (!this.rawData)
41
+ return undefined;
42
+ return this.rawData.thread_metadata?.invitable;
43
+ }
44
+ /**
45
+ * The timestamp of when the thread was created.
46
+ */
47
+ get createTimestamp() {
48
+ if (!this.rawData)
49
+ return undefined;
50
+ return this.rawData.thread_metadata?.create_timestamp;
51
+ }
52
+ /**
53
+ * The number of messages in the thread.
54
+ */
55
+ get messageCount() {
56
+ if (!this.rawData)
57
+ return undefined;
58
+ return this.rawData.message_count;
59
+ }
60
+ /**
61
+ * The number of members in the thread.
62
+ *
63
+ * @remarks
64
+ * This is only accurate until 50, after that, Discord stops counting.
65
+ */
66
+ get memberCount() {
67
+ if (!this.rawData)
68
+ return undefined;
69
+ return this.rawData.member_count;
70
+ }
71
+ /**
72
+ * The ID of the owner of the thread.
73
+ */
74
+ get ownerId() {
75
+ if (!this.rawData)
76
+ return undefined;
77
+ return this.rawData.owner_id;
78
+ }
79
+ /**
80
+ * The number of messages sent in the thread.
81
+ */
82
+ get totalMessageSent() {
83
+ if (!this.rawData)
84
+ return undefined;
85
+ return this.rawData.total_message_sent;
86
+ }
87
+ /**
88
+ * The tags applied to the thread.
89
+ */
90
+ get appliedTags() {
91
+ if (!this.rawData)
92
+ return undefined;
93
+ return this.rawData.applied_tags;
94
+ }
95
+ /**
96
+ * Join the thread
97
+ */
98
+ async join() {
99
+ await this.addMember("@me");
100
+ }
101
+ /**
102
+ * Add a member to the thread
103
+ */
104
+ async addMember(userId) {
105
+ await this.client.rest.put(Routes.threadMembers(this.id, userId));
106
+ }
107
+ /**
108
+ * Leave the thread
109
+ */
110
+ async leave() {
111
+ await this.removeMember("@me");
112
+ }
113
+ /**
114
+ * Get the pinned messages in the thread
115
+ */
116
+ async removeMember(userId) {
117
+ await this.client.rest.delete(Routes.threadMembers(this.id, userId));
118
+ }
119
+ /**
120
+ * Archive the thread
121
+ */
122
+ async archive() {
123
+ await this.client.rest.patch(Routes.channel(this.id), {
124
+ body: { archive: true }
125
+ });
126
+ Reflect.set(this.rawData?.thread_metadata ?? {}, "archived", true);
127
+ }
128
+ /**
129
+ * Unarchive the thread
130
+ */
131
+ async unarchive() {
132
+ await this.client.rest.patch(Routes.channel(this.id), {
133
+ body: { archive: false }
134
+ });
135
+ Reflect.set(this.rawData?.thread_metadata ?? {}, "archived", false);
136
+ }
137
+ /**
138
+ * Set the auto archive duration of the thread
139
+ */
140
+ async setAutoArchiveDuration(duration) {
141
+ await this.client.rest.patch(Routes.channel(this.id), {
142
+ body: { auto_archive_duration: duration }
143
+ });
144
+ Reflect.set(this.rawData?.thread_metadata ?? {}, "auto_archive_duration", duration);
145
+ }
146
+ /**
147
+ * Lock the thread
148
+ */
149
+ async lock() {
150
+ await this.client.rest.put(Routes.channel(this.id), {
151
+ body: { locked: true }
152
+ });
153
+ Reflect.set(this.rawData?.thread_metadata ?? {}, "locked", true);
154
+ }
155
+ /**
156
+ * Unlock the thread
157
+ */
158
+ async unlock() {
159
+ await this.client.rest.put(Routes.channel(this.id), {
160
+ body: { locked: false }
161
+ });
162
+ Reflect.set(this.rawData?.thread_metadata ?? {}, "locked", false);
163
+ }
164
+ }
165
+ //# sourceMappingURL=GuildThreadChannel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GuildThreadChannel.js","sourceRoot":"","sources":["../../../src/structures/GuildThreadChannel.ts"],"names":[],"mappings":"AAAA,OAAO,EAEN,MAAM,EAEN,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAA;AAGnE,MAAM,OAAO,kBAGX,SAAQ,gBAAiC;IAI1C;;OAEG;IACH,IAAI,QAAQ;QACX,IAAI,CAAC,IAAI,CAAC,OAAO;YAAE,OAAO,SAAkB,CAA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AC,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE;YACnD,IAAI,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE;SACvB,CAAC,CAAA;QACF,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,EAAE,eAAe,IAAI,EAAE,EAAE,QAAQ,EAAE,KAAK,CAAC,CAAA;IAClE,CAAC;CACD"}
@@ -0,0 +1,174 @@
1
+ import { type APIAttachment, type APIMessage, type APIMessageInteractionMetadata, type APIMessageReference, type APIReaction, type APIStickerItem, type ChannelType, type MessageFlags, type MessageType, type RESTPostAPIChannelThreadsJSONBody } from "discord-api-types/v10";
2
+ import { Base } from "../abstracts/Base.js";
3
+ import type { Client } from "../classes/Client.js";
4
+ import { Embed } from "../classes/Embed.js";
5
+ import type { IfPartial, MessagePayload } from "../types/index.js";
6
+ import { GuildThreadChannel } from "./GuildThreadChannel.js";
7
+ import { Poll } from "./Poll.js";
8
+ import { Role } from "./Role.js";
9
+ import { User } from "./User.js";
10
+ export declare class Message<IsPartial extends boolean = false> extends Base {
11
+ constructor(client: Client, rawDataOrIds: IsPartial extends true ? {
12
+ id: string;
13
+ channelId?: string;
14
+ } : APIMessage);
15
+ protected _rawData: APIMessage | null;
16
+ private setData;
17
+ /**
18
+ * The raw Discord API data for this message
19
+ */
20
+ get rawData(): Readonly<APIMessage>;
21
+ /**
22
+ * The ID of the message
23
+ */
24
+ readonly id: string;
25
+ /**
26
+ * The ID of the channel the message is in
27
+ */
28
+ readonly channelId: string;
29
+ /**
30
+ * Whether the message is a partial message (meaning it does not have all the data).
31
+ * If this is true, you should use {@link Message.fetch} to get the full data of the message.
32
+ */
33
+ get partial(): IsPartial;
34
+ /**
35
+ * If this message is a response to an interaction, this is the ID of the interaction's application
36
+ */
37
+ get applicationId(): IfPartial<IsPartial, string | undefined>;
38
+ /**
39
+ * The attachments of the message
40
+ */
41
+ get attachments(): IfPartial<IsPartial, APIAttachment[]>;
42
+ /**
43
+ * The components of the message
44
+ */
45
+ get components(): IfPartial<IsPartial, NonNullable<APIMessage["components"]>>;
46
+ /**
47
+ * The content of the message
48
+ */
49
+ get content(): IfPartial<IsPartial, string>;
50
+ get embeds(): IfPartial<IsPartial, Embed[]>;
51
+ /**
52
+ * If this message was edited, this is the timestamp of the edit
53
+ */
54
+ get editedTimestamp(): IfPartial<IsPartial, string | null>;
55
+ /**
56
+ * The flags of the message
57
+ */
58
+ get flags(): IfPartial<IsPartial, MessageFlags>;
59
+ /**
60
+ * The interaction metadata of the message
61
+ */
62
+ get interactionMetadata(): IfPartial<IsPartial, APIMessageInteractionMetadata | undefined>;
63
+ /**
64
+ * Whether the message mentions everyone
65
+ */
66
+ get mentionedEveryone(): IfPartial<IsPartial, boolean>;
67
+ /**
68
+ * The users mentioned in the message
69
+ */
70
+ get mentionedUsers(): IfPartial<IsPartial, User[]>;
71
+ /**
72
+ * The roles mentioned in the message
73
+ */
74
+ get mentionedRoles(): IfPartial<IsPartial, Role<true>[]>;
75
+ /**
76
+ * The data about the referenced message. You can use {@link Message.referencedMessage} to get the referenced message itself.
77
+ */
78
+ get messageReference(): IfPartial<IsPartial, APIMessageReference | undefined>;
79
+ /**
80
+ * The referenced message itself
81
+ */
82
+ get referencedMessage(): IfPartial<IsPartial, Message | null>;
83
+ /**
84
+ * Whether the message is pinned
85
+ */
86
+ get pinned(): IfPartial<IsPartial, boolean>;
87
+ /**
88
+ * The poll contained in the message
89
+ */
90
+ get poll(): IfPartial<IsPartial, Poll | undefined>;
91
+ /**
92
+ * The approximate position of the message in the channel
93
+ */
94
+ get position(): IfPartial<IsPartial, number | undefined>;
95
+ /**
96
+ * The reactions on the message
97
+ */
98
+ get reactions(): IfPartial<IsPartial, APIReaction[]>;
99
+ /**
100
+ * The stickers in the message
101
+ */
102
+ get stickers(): IfPartial<IsPartial, APIStickerItem[]>;
103
+ /**
104
+ * The timestamp of the original message
105
+ */
106
+ get timestamp(): IfPartial<IsPartial, string>;
107
+ /**
108
+ * Whether the message is a TTS message
109
+ */
110
+ get tts(): IfPartial<IsPartial, boolean>;
111
+ /**
112
+ * The type of the message
113
+ */
114
+ get type(): IfPartial<IsPartial, MessageType>;
115
+ /**
116
+ * Get the author of the message
117
+ */
118
+ get author(): IfPartial<IsPartial, User | null>;
119
+ /**
120
+ * Get the thread associated with this message, if there is one
121
+ */
122
+ get thread(): IfPartial<IsPartial, GuildThreadChannel<ChannelType.PublicThread | ChannelType.AnnouncementThread> | null>;
123
+ /**
124
+ * Fetch updated data for this message.
125
+ * If the message is partial, this will fetch all the data for the message and populate the fields.
126
+ * If the message is not partial, all fields will be updated with new values from Discord.
127
+ * @returns A Promise that resolves to a non-partial Message
128
+ */
129
+ fetch(): Promise<Message<false>>;
130
+ /**
131
+ * Delete this message from Discord
132
+ */
133
+ delete(): Promise<void>;
134
+ /**
135
+ * Get the channel the message was sent in
136
+ */
137
+ fetchChannel(): Promise<import("./DmChannel.js").DmChannel<false> | import("./GroupDmChannel.js").GroupDmChannel<false> | import("./GuildTextChannel.js").GuildTextChannel<false> | import("./GuildStageOrVoiceChannel.js").GuildVoiceChannel<false> | import("./GuildCategoryChannel.js").GuildCategoryChannel<false> | import("./GuildAnnouncementChannel.js").GuildAnnouncementChannel<false> | GuildThreadChannel<ChannelType.AnnouncementThread | ChannelType.PublicThread | ChannelType.PrivateThread, false> | import("./GuildStageOrVoiceChannel.js").GuildStageChannel<false> | import("./GuildForumChannel.js").GuildForumChannel<false> | import("./GuildMediaChannel.js").GuildMediaChannel | null>;
138
+ /**
139
+ * Pin this message
140
+ */
141
+ pin(): Promise<void>;
142
+ /**
143
+ * Unpin this message
144
+ */
145
+ unpin(): Promise<void>;
146
+ /**
147
+ * Start a thread with this message as the associated start message.
148
+ * If you want to start a thread without a start message, use {@link BaseGuildTextChannel.startThread}
149
+ */
150
+ startThread(data: RESTPostAPIChannelThreadsJSONBody): Promise<GuildThreadChannel<import("discord-api-types/v10").ThreadChannelType, false>>;
151
+ /**
152
+ * Edit this message
153
+ * @param data - The data to edit the message with
154
+ * @returns A Promise that resolves to the edited message
155
+ */
156
+ edit(data: MessagePayload): Promise<Message>;
157
+ /**
158
+ * Forward this message to a different channel
159
+ * @param channelId - The ID of the channel to forward the message to
160
+ * @returns A Promise that resolves to the forwarded message
161
+ */
162
+ forward(channelId: string): Promise<Message>;
163
+ /**
164
+ * Reply to this message
165
+ * @param data - The data to reply with
166
+ * @returns A Promise that resolves to the replied message
167
+ */
168
+ reply(data: MessagePayload): Promise<Message>;
169
+ /**
170
+ * Disable all buttons on the message except for link buttons
171
+ */
172
+ disableAllButtons(): Promise<void>;
173
+ }
174
+ //# sourceMappingURL=Message.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Message.d.ts","sourceRoot":"","sources":["../../../src/structures/Message.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,KAAK,aAAa,EAGlB,KAAK,UAAU,EACf,KAAK,6BAA6B,EAClC,KAAK,mBAAmB,EACxB,KAAK,WAAW,EAChB,KAAK,cAAc,EAEnB,KAAK,WAAW,EAEhB,KAAK,YAAY,EAEjB,KAAK,WAAW,EAGhB,KAAK,iCAAiC,EAEtC,MAAM,uBAAuB,CAAA;AAC9B,OAAO,EAAE,IAAI,EAAE,MAAM,sBAAsB,CAAA;AAC3C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,sBAAsB,CAAA;AAClD,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAA;AAE3C,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAElE,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AAC5D,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAChC,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAEhC,qBAAa,OAAO,CAAC,SAAS,SAAS,OAAO,GAAG,KAAK,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