dfx 0.51.0 → 0.51.2

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 (335) hide show
  1. package/Cache/driver.d.ts +17 -16
  2. package/Cache/driver.d.ts.map +1 -1
  3. package/Cache/driver.js +10 -2
  4. package/Cache/driver.js.map +1 -1
  5. package/Cache/memory.d.ts +3 -3
  6. package/Cache/memory.d.ts.map +1 -1
  7. package/Cache/memory.js +55 -45
  8. package/Cache/memory.js.map +1 -1
  9. package/Cache/memoryTTL.d.ts +7 -6
  10. package/Cache/memoryTTL.d.ts.map +1 -1
  11. package/Cache/memoryTTL.js +126 -118
  12. package/Cache/memoryTTL.js.map +1 -1
  13. package/Cache/prelude.d.ts +53 -47
  14. package/Cache/prelude.d.ts.map +1 -1
  15. package/Cache/prelude.js +125 -96
  16. package/Cache/prelude.js.map +1 -1
  17. package/Cache.d.ts +33 -32
  18. package/Cache.d.ts.map +1 -1
  19. package/Cache.js +137 -65
  20. package/Cache.js.map +1 -1
  21. package/DiscordConfig.d.ts +26 -20
  22. package/DiscordConfig.d.ts.map +1 -1
  23. package/DiscordConfig.js +43 -25
  24. package/DiscordConfig.js.map +1 -1
  25. package/DiscordGateway/DiscordWS.d.ts +17 -14
  26. package/DiscordGateway/DiscordWS.d.ts.map +1 -1
  27. package/DiscordGateway/DiscordWS.js +49 -30
  28. package/DiscordGateway/DiscordWS.js.map +1 -1
  29. package/DiscordGateway/Shard/heartbeats.d.ts +7 -3
  30. package/DiscordGateway/Shard/heartbeats.d.ts.map +1 -1
  31. package/DiscordGateway/Shard/heartbeats.js +28 -18
  32. package/DiscordGateway/Shard/heartbeats.js.map +1 -1
  33. package/DiscordGateway/Shard/identify.d.ts +10 -8
  34. package/DiscordGateway/Shard/identify.d.ts.map +1 -1
  35. package/DiscordGateway/Shard/identify.js +41 -24
  36. package/DiscordGateway/Shard/identify.js.map +1 -1
  37. package/DiscordGateway/Shard/invalidSession.d.ts +6 -3
  38. package/DiscordGateway/Shard/invalidSession.d.ts.map +1 -1
  39. package/DiscordGateway/Shard/invalidSession.js +14 -5
  40. package/DiscordGateway/Shard/invalidSession.js.map +1 -1
  41. package/DiscordGateway/Shard/sendEvents.d.ts +1 -1
  42. package/DiscordGateway/Shard/sendEvents.d.ts.map +1 -1
  43. package/DiscordGateway/Shard/sendEvents.js +30 -18
  44. package/DiscordGateway/Shard/sendEvents.js.map +1 -1
  45. package/DiscordGateway/Shard/utils.d.ts +7 -3
  46. package/DiscordGateway/Shard/utils.d.ts.map +1 -1
  47. package/DiscordGateway/Shard/utils.js +19 -9
  48. package/DiscordGateway/Shard/utils.js.map +1 -1
  49. package/DiscordGateway/Shard.d.ts +15 -10
  50. package/DiscordGateway/Shard.d.ts.map +1 -1
  51. package/DiscordGateway/Shard.js +109 -87
  52. package/DiscordGateway/Shard.js.map +1 -1
  53. package/DiscordGateway/ShardStore.d.ts +9 -6
  54. package/DiscordGateway/ShardStore.d.ts.map +1 -1
  55. package/DiscordGateway/ShardStore.js +30 -18
  56. package/DiscordGateway/ShardStore.js.map +1 -1
  57. package/DiscordGateway/Sharder.d.ts +17 -11
  58. package/DiscordGateway/Sharder.d.ts.map +1 -1
  59. package/DiscordGateway/Sharder.js +82 -52
  60. package/DiscordGateway/Sharder.js.map +1 -1
  61. package/DiscordGateway/WS.d.ts +13 -10
  62. package/DiscordGateway/WS.d.ts.map +1 -1
  63. package/DiscordGateway/WS.js +100 -74
  64. package/DiscordGateway/WS.js.map +1 -1
  65. package/DiscordGateway.d.ts +19 -13
  66. package/DiscordGateway.d.ts.map +1 -1
  67. package/DiscordGateway.js +45 -32
  68. package/DiscordGateway.js.map +1 -1
  69. package/DiscordREST/types.d.ts +5 -5
  70. package/DiscordREST/types.d.ts.map +1 -1
  71. package/DiscordREST/types.js +5 -1
  72. package/DiscordREST/types.js.map +1 -1
  73. package/DiscordREST/utils.d.ts +3 -2
  74. package/DiscordREST/utils.d.ts.map +1 -1
  75. package/DiscordREST/utils.js +27 -17
  76. package/DiscordREST/utils.js.map +1 -1
  77. package/DiscordREST.d.ts +11 -8
  78. package/DiscordREST.d.ts.map +1 -1
  79. package/DiscordREST.js +141 -127
  80. package/DiscordREST.js.map +1 -1
  81. package/Helpers/flags.js +31 -19
  82. package/Helpers/flags.js.map +1 -1
  83. package/Helpers/intents.d.ts.map +1 -1
  84. package/Helpers/intents.js +22 -10
  85. package/Helpers/intents.js.map +1 -1
  86. package/Helpers/interactions.d.ts +22 -21
  87. package/Helpers/interactions.d.ts.map +1 -1
  88. package/Helpers/interactions.js +75 -39
  89. package/Helpers/interactions.js.map +1 -1
  90. package/Helpers/members.d.ts +3 -3
  91. package/Helpers/members.d.ts.map +1 -1
  92. package/Helpers/members.js +10 -3
  93. package/Helpers/members.js.map +1 -1
  94. package/Helpers/permissions.d.ts +5 -4
  95. package/Helpers/permissions.d.ts.map +1 -1
  96. package/Helpers/permissions.js +69 -52
  97. package/Helpers/permissions.js.map +1 -1
  98. package/Helpers/ui.d.ts +1 -1
  99. package/Helpers/ui.d.ts.map +1 -1
  100. package/Helpers/ui.js +44 -29
  101. package/Helpers/ui.js.map +1 -1
  102. package/Interactions/builder.d.ts +20 -19
  103. package/Interactions/builder.d.ts.map +1 -1
  104. package/Interactions/builder.js +66 -63
  105. package/Interactions/builder.js.map +1 -1
  106. package/Interactions/context.d.ts +26 -23
  107. package/Interactions/context.d.ts.map +1 -1
  108. package/Interactions/context.js +86 -57
  109. package/Interactions/context.js.map +1 -1
  110. package/Interactions/definitions.d.ts +33 -30
  111. package/Interactions/definitions.d.ts.map +1 -1
  112. package/Interactions/definitions.js +61 -47
  113. package/Interactions/definitions.js.map +1 -1
  114. package/Interactions/gateway.d.ts +15 -10
  115. package/Interactions/gateway.d.ts.map +1 -1
  116. package/Interactions/gateway.js +55 -42
  117. package/Interactions/gateway.js.map +1 -1
  118. package/Interactions/handlers.d.ts +6 -4
  119. package/Interactions/handlers.d.ts.map +1 -1
  120. package/Interactions/handlers.js +68 -57
  121. package/Interactions/handlers.js.map +1 -1
  122. package/Interactions/index.d.ts +11 -10
  123. package/Interactions/index.d.ts.map +1 -1
  124. package/Interactions/index.js +95 -10
  125. package/Interactions/index.js.map +1 -1
  126. package/Interactions/utils.d.ts +42 -40
  127. package/Interactions/utils.d.ts.map +1 -1
  128. package/Interactions/utils.js +40 -32
  129. package/Interactions/utils.js.map +1 -1
  130. package/Interactions/webhook.d.ts +20 -16
  131. package/Interactions/webhook.d.ts.map +1 -1
  132. package/Interactions/webhook.js +73 -41
  133. package/Interactions/webhook.js.map +1 -1
  134. package/Log.d.ts +8 -5
  135. package/Log.d.ts.map +1 -1
  136. package/Log.js +23 -14
  137. package/Log.js.map +1 -1
  138. package/RateLimit/memory.d.ts +1 -1
  139. package/RateLimit/memory.d.ts.map +1 -1
  140. package/RateLimit/memory.js +46 -33
  141. package/RateLimit/memory.js.map +1 -1
  142. package/RateLimit/utils.d.ts +1 -1
  143. package/RateLimit/utils.d.ts.map +1 -1
  144. package/RateLimit/utils.js +23 -16
  145. package/RateLimit/utils.js.map +1 -1
  146. package/RateLimit.d.ts +18 -14
  147. package/RateLimit.d.ts.map +1 -1
  148. package/RateLimit.js +40 -26
  149. package/RateLimit.js.map +1 -1
  150. package/gateway.d.ts +20 -13
  151. package/gateway.d.ts.map +1 -1
  152. package/gateway.js +72 -25
  153. package/gateway.js.map +1 -1
  154. package/index.d.ts +14 -13
  155. package/index.d.ts.map +1 -1
  156. package/index.js +71 -13
  157. package/index.js.map +1 -1
  158. package/mjs/Cache/driver.mjs +3 -0
  159. package/mjs/Cache/driver.mjs.map +1 -0
  160. package/mjs/Cache/memory.mjs +48 -0
  161. package/mjs/Cache/memory.mjs.map +1 -0
  162. package/mjs/Cache/memoryTTL.mjs +119 -0
  163. package/mjs/Cache/memoryTTL.mjs.map +1 -0
  164. package/mjs/Cache/prelude.mjs +125 -0
  165. package/mjs/Cache/prelude.mjs.map +1 -0
  166. package/mjs/Cache.mjs +87 -0
  167. package/mjs/Cache.mjs.map +1 -0
  168. package/mjs/DiscordConfig.mjs +34 -0
  169. package/mjs/DiscordConfig.mjs.map +1 -0
  170. package/mjs/DiscordGateway/DiscordWS.mjs +39 -0
  171. package/mjs/DiscordGateway/DiscordWS.mjs.map +1 -0
  172. package/mjs/DiscordGateway/Shard/heartbeats.mjs +21 -0
  173. package/mjs/DiscordGateway/Shard/heartbeats.mjs.map +1 -0
  174. package/mjs/DiscordGateway/Shard/identify.mjs +37 -0
  175. package/mjs/DiscordGateway/Shard/identify.mjs.map +1 -0
  176. package/mjs/DiscordGateway/Shard/invalidSession.mjs +6 -0
  177. package/mjs/DiscordGateway/Shard/invalidSession.mjs.map +1 -0
  178. package/mjs/DiscordGateway/Shard/sendEvents.mjs +25 -0
  179. package/mjs/DiscordGateway/Shard/sendEvents.mjs.map +1 -0
  180. package/mjs/DiscordGateway/Shard/utils.mjs +11 -0
  181. package/mjs/DiscordGateway/Shard/utils.mjs.map +1 -0
  182. package/mjs/DiscordGateway/Shard.mjs +99 -0
  183. package/mjs/DiscordGateway/Shard.mjs.map +1 -0
  184. package/mjs/DiscordGateway/ShardStore.mjs +24 -0
  185. package/mjs/DiscordGateway/ShardStore.mjs.map +1 -0
  186. package/mjs/DiscordGateway/Sharder.mjs +73 -0
  187. package/mjs/DiscordGateway/Sharder.mjs.map +1 -0
  188. package/mjs/DiscordGateway/WS.mjs +94 -0
  189. package/mjs/DiscordGateway/WS.mjs.map +1 -0
  190. package/mjs/DiscordGateway.mjs +36 -0
  191. package/mjs/DiscordGateway.mjs.map +1 -0
  192. package/mjs/DiscordREST/types.mjs +2 -0
  193. package/mjs/DiscordREST/types.mjs.map +1 -0
  194. package/mjs/DiscordREST/utils.mjs +19 -0
  195. package/mjs/DiscordREST/utils.mjs.map +1 -0
  196. package/mjs/DiscordREST.mjs +129 -0
  197. package/mjs/DiscordREST.mjs.map +1 -0
  198. package/mjs/Helpers/flags.mjs +36 -0
  199. package/mjs/Helpers/flags.mjs.map +1 -0
  200. package/mjs/Helpers/intents.mjs +27 -0
  201. package/mjs/Helpers/intents.mjs.map +1 -0
  202. package/mjs/Helpers/interactions.mjs +104 -0
  203. package/mjs/Helpers/interactions.mjs.map +1 -0
  204. package/mjs/Helpers/members.mjs +9 -0
  205. package/mjs/Helpers/members.mjs.map +1 -0
  206. package/mjs/Helpers/permissions.mjs +82 -0
  207. package/mjs/Helpers/permissions.mjs.map +1 -0
  208. package/mjs/Helpers/ui.mjs +66 -0
  209. package/mjs/Helpers/ui.mjs.map +1 -0
  210. package/mjs/Interactions/builder.mjs +62 -0
  211. package/mjs/Interactions/builder.mjs.map +1 -0
  212. package/mjs/Interactions/context.mjs +63 -0
  213. package/mjs/Interactions/context.mjs.map +1 -0
  214. package/mjs/Interactions/definitions.mjs +51 -0
  215. package/mjs/Interactions/definitions.mjs.map +1 -0
  216. package/mjs/Interactions/gateway.mjs +48 -0
  217. package/mjs/Interactions/gateway.mjs.map +1 -0
  218. package/mjs/Interactions/handlers.mjs +61 -0
  219. package/mjs/Interactions/handlers.mjs.map +1 -0
  220. package/mjs/Interactions/index.mjs +12 -0
  221. package/mjs/Interactions/index.mjs.map +1 -0
  222. package/mjs/Interactions/utils.mjs +35 -0
  223. package/mjs/Interactions/utils.mjs.map +1 -0
  224. package/mjs/Interactions/webhook.mjs +73 -0
  225. package/mjs/Interactions/webhook.mjs.map +1 -0
  226. package/mjs/Log.mjs +15 -0
  227. package/mjs/Log.mjs.map +1 -0
  228. package/mjs/RateLimit/memory.mjs +39 -0
  229. package/mjs/RateLimit/memory.mjs.map +1 -0
  230. package/mjs/RateLimit/utils.mjs +18 -0
  231. package/mjs/RateLimit/utils.mjs.map +1 -0
  232. package/mjs/RateLimit.mjs +29 -0
  233. package/mjs/RateLimit.mjs.map +1 -0
  234. package/mjs/gateway.mjs +27 -0
  235. package/mjs/gateway.mjs.map +1 -0
  236. package/mjs/index.mjs +15 -0
  237. package/mjs/index.mjs.map +1 -0
  238. package/mjs/types.mjs +1211 -0
  239. package/mjs/types.mjs.map +1 -0
  240. package/mjs/utils/Effect.mjs +28 -0
  241. package/mjs/utils/Effect.mjs.map +1 -0
  242. package/mjs/utils/tsplus.mjs +2 -0
  243. package/mjs/utils/tsplus.mjs.map +1 -0
  244. package/mjs/version.mjs +2 -0
  245. package/mjs/version.mjs.map +1 -0
  246. package/mjs/webhooks.mjs +30 -0
  247. package/mjs/webhooks.mjs.map +1 -0
  248. package/package.json +46 -50
  249. package/src/Cache/driver.ts +27 -15
  250. package/src/Cache/memory.ts +9 -5
  251. package/src/Cache/memoryTTL.ts +69 -53
  252. package/src/Cache/prelude.ts +113 -91
  253. package/src/Cache.ts +73 -58
  254. package/src/DiscordConfig.ts +33 -19
  255. package/src/DiscordGateway/DiscordWS.ts +28 -25
  256. package/src/DiscordGateway/Shard/heartbeats.ts +47 -27
  257. package/src/DiscordGateway/Shard/identify.ts +29 -25
  258. package/src/DiscordGateway/Shard/invalidSession.ts +9 -7
  259. package/src/DiscordGateway/Shard/sendEvents.ts +1 -1
  260. package/src/DiscordGateway/Shard/utils.ts +33 -9
  261. package/src/DiscordGateway/Shard.ts +119 -99
  262. package/src/DiscordGateway/ShardStore.ts +12 -5
  263. package/src/DiscordGateway/Sharder.ts +95 -74
  264. package/src/DiscordGateway/WS.ts +85 -60
  265. package/src/DiscordGateway.ts +58 -18
  266. package/src/DiscordREST/types.ts +5 -5
  267. package/src/DiscordREST/utils.ts +10 -7
  268. package/src/DiscordREST.ts +152 -132
  269. package/src/Helpers/intents.ts +1 -0
  270. package/src/Helpers/interactions.ts +51 -38
  271. package/src/Helpers/members.ts +2 -0
  272. package/src/Helpers/permissions.ts +6 -5
  273. package/src/Helpers/ui.ts +1 -1
  274. package/src/Interactions/builder.ts +56 -43
  275. package/src/Interactions/context.ts +68 -38
  276. package/src/Interactions/definitions.ts +32 -24
  277. package/src/Interactions/gateway.ts +72 -47
  278. package/src/Interactions/handlers.ts +56 -39
  279. package/src/Interactions/index.ts +6 -5
  280. package/src/Interactions/utils.ts +32 -21
  281. package/src/Interactions/webhook.ts +78 -42
  282. package/src/Log.ts +4 -0
  283. package/src/RateLimit/memory.ts +10 -4
  284. package/src/RateLimit/utils.ts +1 -1
  285. package/src/RateLimit.ts +38 -25
  286. package/src/gateway.ts +62 -25
  287. package/src/index.ts +29 -15
  288. package/src/utils/Effect.ts +69 -0
  289. package/src/version.ts +1 -0
  290. package/src/webhooks.ts +47 -20
  291. package/tsconfig.base.json +48 -0
  292. package/tsconfig.build.json +10 -0
  293. package/tsconfig.examples.json +11 -0
  294. package/tsconfig.json +12 -8
  295. package/tsconfig.madge.json +12 -0
  296. package/tsconfig.test.json +10 -0
  297. package/types.d.ts.map +1 -1
  298. package/types.js +1216 -1200
  299. package/types.js.map +1 -1
  300. package/utils/Effect.d.ts +8 -0
  301. package/utils/Effect.d.ts.map +1 -0
  302. package/utils/Effect.js +38 -0
  303. package/utils/Effect.js.map +1 -0
  304. package/utils/tsplus.js +5 -1
  305. package/utils/tsplus.js.map +1 -1
  306. package/version.d.ts +2 -0
  307. package/version.d.ts.map +1 -0
  308. package/version.js +9 -0
  309. package/version.js.map +1 -0
  310. package/webhooks.d.ts +14 -9
  311. package/webhooks.d.ts.map +1 -1
  312. package/webhooks.js +76 -27
  313. package/webhooks.js.map +1 -1
  314. package/_common.d.ts +0 -37
  315. package/_common.d.ts.map +0 -1
  316. package/_common.js +0 -8
  317. package/_common.js.map +0 -1
  318. package/global.d.ts +0 -18
  319. package/global.d.ts.map +0 -1
  320. package/global.js +0 -2
  321. package/global.js.map +0 -1
  322. package/src/_common.ts +0 -43
  323. package/src/global.ts +0 -45
  324. package/src/package.json +0 -52
  325. package/src/utils/effect.ts +0 -0
  326. package/src/utils/hub.ts +0 -47
  327. package/tsplus.config.json +0 -8
  328. package/utils/effect.d.ts +0 -2
  329. package/utils/effect.d.ts.map +0 -1
  330. package/utils/effect.js +0 -2
  331. package/utils/effect.js.map +0 -1
  332. package/utils/hub.d.ts +0 -12
  333. package/utils/hub.d.ts.map +0 -1
  334. package/utils/hub.js +0 -26
  335. package/utils/hub.js.map +0 -1
package/mjs/types.mjs ADDED
@@ -0,0 +1,1211 @@
1
+ export const ActivityFlag = {
2
+ INSTANCE: 1 << 0,
3
+ JOIN: 1 << 1,
4
+ SPECTATE: 1 << 2,
5
+ JOIN_REQUEST: 1 << 3,
6
+ SYNC: 1 << 4,
7
+ PLAY: 1 << 5,
8
+ PARTY_PRIVACY_FRIENDS: 1 << 6,
9
+ PARTY_PRIVACY_VOICE_CHANNEL: 1 << 7,
10
+ EMBEDDED: 1 << 8
11
+ };
12
+ export const ApplicationFlag = {
13
+ /** Indicates if an app uses the Auto Moderation API */
14
+ APPLICATION_AUTO_MODERATION_RULE_CREATE_BADGE: 1 << 6,
15
+ /** Intent required for bots in 100 or more servers to receive presence_update events */
16
+ GATEWAY_PRESENCE: 1 << 12,
17
+ /** Intent required for bots in under 100 servers to receive presence_update events, found on the Bot page in your app's settings */
18
+ GATEWAY_PRESENCE_LIMITED: 1 << 13,
19
+ /** Intent required for bots in 100 or more servers to receive member-related events like guild_member_add. See the list of member-related events under GUILD_MEMBERS */
20
+ GATEWAY_GUILD_MEMBERS: 1 << 14,
21
+ /** Intent required for bots in under 100 servers to receive member-related events like guild_member_add, found on the Bot page in your app's settings. See the list of member-related events under GUILD_MEMBERS */
22
+ GATEWAY_GUILD_MEMBERS_LIMITED: 1 << 15,
23
+ /** Indicates unusual growth of an app that prevents verification */
24
+ VERIFICATION_PENDING_GUILD_LIMIT: 1 << 16,
25
+ /** Indicates if an app is embedded within the Discord client (currently unavailable publicly) */
26
+ EMBEDDED: 1 << 17,
27
+ /** Intent required for bots in 100 or more servers to receive message content */
28
+ GATEWAY_MESSAGE_CONTENT: 1 << 18,
29
+ /** Intent required for bots in under 100 servers to receive message content, found on the Bot page in your app's settings */
30
+ GATEWAY_MESSAGE_CONTENT_LIMITED: 1 << 19,
31
+ /** Indicates if an app has registered global application commands */
32
+ APPLICATION_COMMAND_BADGE: 1 << 23
33
+ };
34
+ export const ChannelFlag = {
35
+ /** this thread is pinned to the top of its parent GUILD_FORUM channel */
36
+ PINNED: 1 << 1,
37
+ /** whether a tag is required to be specified when creating a thread in a GUILD_FORUM channel. Tags are specified in the applied_tags field. */
38
+ REQUIRE_TAG: 1 << 4
39
+ };
40
+ export function createRoutes(fetch) {
41
+ return {
42
+ addGuildMember: (guildId, userId, params, options) => fetch({
43
+ method: "PUT",
44
+ url: `/guilds/${guildId}/members/${userId}`,
45
+ params,
46
+ options
47
+ }),
48
+ addGuildMemberRole: (guildId, userId, roleId, options) => fetch({
49
+ method: "PUT",
50
+ url: `/guilds/${guildId}/members/${userId}/roles/${roleId}`,
51
+ options
52
+ }),
53
+ addThreadMember: (channelId, userId, options) => fetch({
54
+ method: "PUT",
55
+ url: `/channels/${channelId}/thread-members/${userId}`,
56
+ options
57
+ }),
58
+ batchEditApplicationCommandPermissions: (applicationId, guildId, options) => fetch({
59
+ method: "PUT",
60
+ url: `/applications/${applicationId}/guilds/${guildId}/commands/permissions`,
61
+ options
62
+ }),
63
+ beginGuildPrune: (guildId, params, options) => fetch({
64
+ method: "POST",
65
+ url: `/guilds/${guildId}/prune`,
66
+ params,
67
+ options
68
+ }),
69
+ bulkDeleteMessages: (channelId, params, options) => fetch({
70
+ method: "POST",
71
+ url: `/channels/${channelId}/messages/bulk-delete`,
72
+ params,
73
+ options
74
+ }),
75
+ bulkOverwriteGlobalApplicationCommands: (applicationId, options) => fetch({
76
+ method: "PUT",
77
+ url: `/applications/${applicationId}/commands`,
78
+ options
79
+ }),
80
+ bulkOverwriteGuildApplicationCommands: (applicationId, guildId, params, options) => fetch({
81
+ method: "PUT",
82
+ url: `/applications/${applicationId}/guilds/${guildId}/commands`,
83
+ params,
84
+ options
85
+ }),
86
+ createAutoModerationRule: (guildId, params, options) => fetch({
87
+ method: "POST",
88
+ url: `/guilds/${guildId}/auto-moderation/rules`,
89
+ params,
90
+ options
91
+ }),
92
+ createChannelInvite: (channelId, params, options) => fetch({
93
+ method: "POST",
94
+ url: `/channels/${channelId}/invites`,
95
+ params,
96
+ options
97
+ }),
98
+ createDm: (params, options) => fetch({
99
+ method: "POST",
100
+ url: `/users/@me/channels`,
101
+ params,
102
+ options
103
+ }),
104
+ createFollowupMessage: (applicationId, interactionToken, params, options) => fetch({
105
+ method: "POST",
106
+ url: `/webhooks/${applicationId}/${interactionToken}`,
107
+ params,
108
+ options
109
+ }),
110
+ createGlobalApplicationCommand: (applicationId, params, options) => fetch({
111
+ method: "POST",
112
+ url: `/applications/${applicationId}/commands`,
113
+ params,
114
+ options
115
+ }),
116
+ createGroupDm: (params, options) => fetch({
117
+ method: "POST",
118
+ url: `/users/@me/channels`,
119
+ params,
120
+ options
121
+ }),
122
+ createGuild: (params, options) => fetch({
123
+ method: "POST",
124
+ url: `/guilds`,
125
+ params,
126
+ options
127
+ }),
128
+ createGuildApplicationCommand: (applicationId, guildId, params, options) => fetch({
129
+ method: "POST",
130
+ url: `/applications/${applicationId}/guilds/${guildId}/commands`,
131
+ params,
132
+ options
133
+ }),
134
+ createGuildBan: (guildId, userId, params, options) => fetch({
135
+ method: "PUT",
136
+ url: `/guilds/${guildId}/bans/${userId}`,
137
+ params,
138
+ options
139
+ }),
140
+ createGuildChannel: (guildId, params, options) => fetch({
141
+ method: "POST",
142
+ url: `/guilds/${guildId}/channels`,
143
+ params,
144
+ options
145
+ }),
146
+ createGuildEmoji: (guildId, params, options) => fetch({
147
+ method: "POST",
148
+ url: `/guilds/${guildId}/emojis`,
149
+ params,
150
+ options
151
+ }),
152
+ createGuildFromGuildTemplate: (templateCode, params, options) => fetch({
153
+ method: "POST",
154
+ url: `/guilds/templates/${templateCode}`,
155
+ params,
156
+ options
157
+ }),
158
+ createGuildRole: (guildId, params, options) => fetch({
159
+ method: "POST",
160
+ url: `/guilds/${guildId}/roles`,
161
+ params,
162
+ options
163
+ }),
164
+ createGuildScheduledEvent: (guildId, params, options) => fetch({
165
+ method: "POST",
166
+ url: `/guilds/${guildId}/scheduled-events`,
167
+ params,
168
+ options
169
+ }),
170
+ createGuildSticker: (guildId, params, options) => fetch({
171
+ method: "POST",
172
+ url: `/guilds/${guildId}/stickers`,
173
+ params,
174
+ options
175
+ }),
176
+ createGuildTemplate: (guildId, params, options) => fetch({
177
+ method: "POST",
178
+ url: `/guilds/${guildId}/templates`,
179
+ params,
180
+ options
181
+ }),
182
+ createInteractionResponse: (interactionId, interactionToken, params, options) => fetch({
183
+ method: "POST",
184
+ url: `/interactions/${interactionId}/${interactionToken}/callback`,
185
+ params,
186
+ options
187
+ }),
188
+ createMessage: (channelId, params, options) => fetch({
189
+ method: "POST",
190
+ url: `/channels/${channelId}/messages`,
191
+ params,
192
+ options
193
+ }),
194
+ createReaction: (channelId, messageId, emoji, options) => fetch({
195
+ method: "PUT",
196
+ url: `/channels/${channelId}/messages/${messageId}/reactions/${emoji}/@me`,
197
+ options
198
+ }),
199
+ createStageInstance: (params, options) => fetch({
200
+ method: "POST",
201
+ url: `/stage-instances`,
202
+ params,
203
+ options
204
+ }),
205
+ createWebhook: (channelId, params, options) => fetch({
206
+ method: "POST",
207
+ url: `/channels/${channelId}/webhooks`,
208
+ params,
209
+ options
210
+ }),
211
+ crosspostMessage: (channelId, messageId, options) => fetch({
212
+ method: "POST",
213
+ url: `/channels/${channelId}/messages/${messageId}/crosspost`,
214
+ options
215
+ }),
216
+ deleteAllReactions: (channelId, messageId, options) => fetch({
217
+ method: "DELETE",
218
+ url: `/channels/${channelId}/messages/${messageId}/reactions`,
219
+ options
220
+ }),
221
+ deleteAllReactionsForEmoji: (channelId, messageId, emoji, options) => fetch({
222
+ method: "DELETE",
223
+ url: `/channels/${channelId}/messages/${messageId}/reactions/${emoji}`,
224
+ options
225
+ }),
226
+ deleteAutoModerationRule: (guildId, autoModerationRuleId, options) => fetch({
227
+ method: "DELETE",
228
+ url: `/guilds/${guildId}/auto-moderation/rules/${autoModerationRuleId}`,
229
+ options
230
+ }),
231
+ deleteChannelPermission: (channelId, overwriteId, options) => fetch({
232
+ method: "DELETE",
233
+ url: `/channels/${channelId}/permissions/${overwriteId}`,
234
+ options
235
+ }),
236
+ deletecloseChannel: (channelId, options) => fetch({
237
+ method: "DELETE",
238
+ url: `/channels/${channelId}`,
239
+ options
240
+ }),
241
+ deleteFollowupMessage: (applicationId, interactionToken, messageId, options) => fetch({
242
+ method: "DELETE",
243
+ url: `/webhooks/${applicationId}/${interactionToken}/messages/${messageId}`,
244
+ options
245
+ }),
246
+ deleteGlobalApplicationCommand: (applicationId, commandId, options) => fetch({
247
+ method: "DELETE",
248
+ url: `/applications/${applicationId}/commands/${commandId}`,
249
+ options
250
+ }),
251
+ deleteGuild: (guildId, options) => fetch({
252
+ method: "DELETE",
253
+ url: `/guilds/${guildId}`,
254
+ options
255
+ }),
256
+ deleteGuildApplicationCommand: (applicationId, guildId, commandId, options) => fetch({
257
+ method: "DELETE",
258
+ url: `/applications/${applicationId}/guilds/${guildId}/commands/${commandId}`,
259
+ options
260
+ }),
261
+ deleteGuildEmoji: (guildId, emojiId, options) => fetch({
262
+ method: "DELETE",
263
+ url: `/guilds/${guildId}/emojis/${emojiId}`,
264
+ options
265
+ }),
266
+ deleteGuildIntegration: (guildId, integrationId, options) => fetch({
267
+ method: "DELETE",
268
+ url: `/guilds/${guildId}/integrations/${integrationId}`,
269
+ options
270
+ }),
271
+ deleteGuildRole: (guildId, roleId, options) => fetch({
272
+ method: "DELETE",
273
+ url: `/guilds/${guildId}/roles/${roleId}`,
274
+ options
275
+ }),
276
+ deleteGuildScheduledEvent: (guildId, guildScheduledEventId, options) => fetch({
277
+ method: "DELETE",
278
+ url: `/guilds/${guildId}/scheduled-events/${guildScheduledEventId}`,
279
+ options
280
+ }),
281
+ deleteGuildSticker: (guildId, stickerId, options) => fetch({
282
+ method: "DELETE",
283
+ url: `/guilds/${guildId}/stickers/${stickerId}`,
284
+ options
285
+ }),
286
+ deleteGuildTemplate: (guildId, templateCode, options) => fetch({
287
+ method: "DELETE",
288
+ url: `/guilds/${guildId}/templates/${templateCode}`,
289
+ options
290
+ }),
291
+ deleteInvite: (inviteCode, options) => fetch({
292
+ method: "DELETE",
293
+ url: `/invites/${inviteCode}`,
294
+ options
295
+ }),
296
+ deleteMessage: (channelId, messageId, options) => fetch({
297
+ method: "DELETE",
298
+ url: `/channels/${channelId}/messages/${messageId}`,
299
+ options
300
+ }),
301
+ deleteOriginalInteractionResponse: (applicationId, interactionToken, options) => fetch({
302
+ method: "DELETE",
303
+ url: `/webhooks/${applicationId}/${interactionToken}/messages/@original`,
304
+ options
305
+ }),
306
+ deleteOwnReaction: (channelId, messageId, emoji, options) => fetch({
307
+ method: "DELETE",
308
+ url: `/channels/${channelId}/messages/${messageId}/reactions/${emoji}/@me`,
309
+ options
310
+ }),
311
+ deleteStageInstance: (channelId, options) => fetch({
312
+ method: "DELETE",
313
+ url: `/stage-instances/${channelId}`,
314
+ options
315
+ }),
316
+ deleteUserReaction: (channelId, messageId, emoji, userId, options) => fetch({
317
+ method: "DELETE",
318
+ url: `/channels/${channelId}/messages/${messageId}/reactions/${emoji}/${userId}`,
319
+ options
320
+ }),
321
+ deleteWebhook: (webhookId, options) => fetch({
322
+ method: "DELETE",
323
+ url: `/webhooks/${webhookId}`,
324
+ options
325
+ }),
326
+ deleteWebhookMessage: (webhookId, webhookToken, messageId, params, options) => fetch({
327
+ method: "DELETE",
328
+ url: `/webhooks/${webhookId}/${webhookToken}/messages/${messageId}`,
329
+ params,
330
+ options
331
+ }),
332
+ deleteWebhookWithToken: (webhookId, webhookToken, options) => fetch({
333
+ method: "DELETE",
334
+ url: `/webhooks/${webhookId}/${webhookToken}`,
335
+ options
336
+ }),
337
+ editApplicationCommandPermissions: (applicationId, guildId, commandId, params, options) => fetch({
338
+ method: "PUT",
339
+ url: `/applications/${applicationId}/guilds/${guildId}/commands/${commandId}/permissions`,
340
+ params,
341
+ options
342
+ }),
343
+ editChannelPermissions: (channelId, overwriteId, params, options) => fetch({
344
+ method: "PUT",
345
+ url: `/channels/${channelId}/permissions/${overwriteId}`,
346
+ params,
347
+ options
348
+ }),
349
+ editFollowupMessage: (applicationId, interactionToken, messageId, params, options) => fetch({
350
+ method: "PATCH",
351
+ url: `/webhooks/${applicationId}/${interactionToken}/messages/${messageId}`,
352
+ params,
353
+ options
354
+ }),
355
+ editGlobalApplicationCommand: (applicationId, commandId, params, options) => fetch({
356
+ method: "PATCH",
357
+ url: `/applications/${applicationId}/commands/${commandId}`,
358
+ params,
359
+ options
360
+ }),
361
+ editGuildApplicationCommand: (applicationId, guildId, commandId, params, options) => fetch({
362
+ method: "PATCH",
363
+ url: `/applications/${applicationId}/guilds/${guildId}/commands/${commandId}`,
364
+ params,
365
+ options
366
+ }),
367
+ editMessage: (channelId, messageId, params, options) => fetch({
368
+ method: "PATCH",
369
+ url: `/channels/${channelId}/messages/${messageId}`,
370
+ params,
371
+ options
372
+ }),
373
+ editOriginalInteractionResponse: (applicationId, interactionToken, params, options) => fetch({
374
+ method: "PATCH",
375
+ url: `/webhooks/${applicationId}/${interactionToken}/messages/@original`,
376
+ params,
377
+ options
378
+ }),
379
+ editWebhookMessage: (webhookId, webhookToken, messageId, params, options) => fetch({
380
+ method: "PATCH",
381
+ url: `/webhooks/${webhookId}/${webhookToken}/messages/${messageId}`,
382
+ params,
383
+ options
384
+ }),
385
+ executeGitHubCompatibleWebhook: (webhookId, webhookToken, options) => fetch({
386
+ method: "POST",
387
+ url: `/webhooks/${webhookId}/${webhookToken}/github`,
388
+ options
389
+ }),
390
+ executeSlackCompatibleWebhook: (webhookId, webhookToken, options) => fetch({
391
+ method: "POST",
392
+ url: `/webhooks/${webhookId}/${webhookToken}/slack`,
393
+ options
394
+ }),
395
+ executeWebhook: (webhookId, webhookToken, params, options) => fetch({
396
+ method: "POST",
397
+ url: `/webhooks/${webhookId}/${webhookToken}`,
398
+ params,
399
+ options
400
+ }),
401
+ followAnnouncementChannel: (channelId, params, options) => fetch({
402
+ method: "POST",
403
+ url: `/channels/${channelId}/followers`,
404
+ params,
405
+ options
406
+ }),
407
+ getApplicationCommandPermissions: (applicationId, guildId, commandId, options) => fetch({
408
+ method: "GET",
409
+ url: `/applications/${applicationId}/guilds/${guildId}/commands/${commandId}/permissions`,
410
+ options
411
+ }),
412
+ getApplicationRoleConnectionMetadataRecords: (applicationId, options) => fetch({
413
+ method: "GET",
414
+ url: `/applications/${applicationId}/role-connections/metadata`,
415
+ options
416
+ }),
417
+ getAutoModerationRule: (guildId, autoModerationRuleId, options) => fetch({
418
+ method: "GET",
419
+ url: `/guilds/${guildId}/auto-moderation/rules/${autoModerationRuleId}`,
420
+ options
421
+ }),
422
+ getChannel: (channelId, options) => fetch({
423
+ method: "GET",
424
+ url: `/channels/${channelId}`,
425
+ options
426
+ }),
427
+ getChannelInvites: (channelId, options) => fetch({
428
+ method: "GET",
429
+ url: `/channels/${channelId}/invites`,
430
+ options
431
+ }),
432
+ getChannelMessage: (channelId, messageId, options) => fetch({
433
+ method: "GET",
434
+ url: `/channels/${channelId}/messages/${messageId}`,
435
+ options
436
+ }),
437
+ getChannelMessages: (channelId, params, options) => fetch({
438
+ method: "GET",
439
+ url: `/channels/${channelId}/messages`,
440
+ params,
441
+ options
442
+ }),
443
+ getChannelWebhooks: (channelId, options) => fetch({
444
+ method: "GET",
445
+ url: `/channels/${channelId}/webhooks`,
446
+ options
447
+ }),
448
+ getCurrentAuthorizationInformation: options => fetch({
449
+ method: "GET",
450
+ url: `/oauth2/@me`,
451
+ options
452
+ }),
453
+ getCurrentBotApplicationInformation: options => fetch({
454
+ method: "GET",
455
+ url: `/oauth2/applications/@me`,
456
+ options
457
+ }),
458
+ getCurrentUser: options => fetch({
459
+ method: "GET",
460
+ url: `/users/@me`,
461
+ options
462
+ }),
463
+ getCurrentUserGuildMember: (guildId, options) => fetch({
464
+ method: "GET",
465
+ url: `/users/@me/guilds/${guildId}/member`,
466
+ options
467
+ }),
468
+ getCurrentUserGuilds: (params, options) => fetch({
469
+ method: "GET",
470
+ url: `/users/@me/guilds`,
471
+ params,
472
+ options
473
+ }),
474
+ getFollowupMessage: (applicationId, interactionToken, messageId, params, options) => fetch({
475
+ method: "GET",
476
+ url: `/webhooks/${applicationId}/${interactionToken}/messages/${messageId}`,
477
+ params,
478
+ options
479
+ }),
480
+ getGateway: options => fetch({
481
+ method: "GET",
482
+ url: `/gateway`,
483
+ options
484
+ }),
485
+ getGatewayBot: options => fetch({
486
+ method: "GET",
487
+ url: `/gateway/bot`,
488
+ options
489
+ }),
490
+ getGlobalApplicationCommand: (applicationId, commandId, options) => fetch({
491
+ method: "GET",
492
+ url: `/applications/${applicationId}/commands/${commandId}`,
493
+ options
494
+ }),
495
+ getGlobalApplicationCommands: (applicationId, params, options) => fetch({
496
+ method: "GET",
497
+ url: `/applications/${applicationId}/commands`,
498
+ params,
499
+ options
500
+ }),
501
+ getGuild: (guildId, params, options) => fetch({
502
+ method: "GET",
503
+ url: `/guilds/${guildId}`,
504
+ params,
505
+ options
506
+ }),
507
+ getGuildApplicationCommand: (applicationId, guildId, commandId, options) => fetch({
508
+ method: "GET",
509
+ url: `/applications/${applicationId}/guilds/${guildId}/commands/${commandId}`,
510
+ options
511
+ }),
512
+ getGuildApplicationCommandPermissions: (applicationId, guildId, options) => fetch({
513
+ method: "GET",
514
+ url: `/applications/${applicationId}/guilds/${guildId}/commands/permissions`,
515
+ options
516
+ }),
517
+ getGuildApplicationCommands: (applicationId, guildId, params, options) => fetch({
518
+ method: "GET",
519
+ url: `/applications/${applicationId}/guilds/${guildId}/commands`,
520
+ params,
521
+ options
522
+ }),
523
+ getGuildAuditLog: (guildId, params, options) => fetch({
524
+ method: "GET",
525
+ url: `/guilds/${guildId}/audit-logs`,
526
+ params,
527
+ options
528
+ }),
529
+ getGuildBan: (guildId, userId, options) => fetch({
530
+ method: "GET",
531
+ url: `/guilds/${guildId}/bans/${userId}`,
532
+ options
533
+ }),
534
+ getGuildBans: (guildId, params, options) => fetch({
535
+ method: "GET",
536
+ url: `/guilds/${guildId}/bans`,
537
+ params,
538
+ options
539
+ }),
540
+ getGuildChannels: (guildId, options) => fetch({
541
+ method: "GET",
542
+ url: `/guilds/${guildId}/channels`,
543
+ options
544
+ }),
545
+ getGuildEmoji: (guildId, emojiId, options) => fetch({
546
+ method: "GET",
547
+ url: `/guilds/${guildId}/emojis/${emojiId}`,
548
+ options
549
+ }),
550
+ getGuildIntegrations: (guildId, options) => fetch({
551
+ method: "GET",
552
+ url: `/guilds/${guildId}/integrations`,
553
+ options
554
+ }),
555
+ getGuildInvites: (guildId, options) => fetch({
556
+ method: "GET",
557
+ url: `/guilds/${guildId}/invites`,
558
+ options
559
+ }),
560
+ getGuildMember: (guildId, userId, options) => fetch({
561
+ method: "GET",
562
+ url: `/guilds/${guildId}/members/${userId}`,
563
+ options
564
+ }),
565
+ getGuildOnboarding: (guildId, options) => fetch({
566
+ method: "GET",
567
+ url: `/guilds/${guildId}/onboarding`,
568
+ options
569
+ }),
570
+ getGuildPreview: (guildId, options) => fetch({
571
+ method: "GET",
572
+ url: `/guilds/${guildId}/preview`,
573
+ options
574
+ }),
575
+ getGuildPruneCount: (guildId, params, options) => fetch({
576
+ method: "GET",
577
+ url: `/guilds/${guildId}/prune`,
578
+ params,
579
+ options
580
+ }),
581
+ getGuildRoles: (guildId, options) => fetch({
582
+ method: "GET",
583
+ url: `/guilds/${guildId}/roles`,
584
+ options
585
+ }),
586
+ getGuildScheduledEvent: (guildId, guildScheduledEventId, params, options) => fetch({
587
+ method: "GET",
588
+ url: `/guilds/${guildId}/scheduled-events/${guildScheduledEventId}`,
589
+ params,
590
+ options
591
+ }),
592
+ getGuildScheduledEventUsers: (guildId, guildScheduledEventId, params, options) => fetch({
593
+ method: "GET",
594
+ url: `/guilds/${guildId}/scheduled-events/${guildScheduledEventId}/users`,
595
+ params,
596
+ options
597
+ }),
598
+ getGuildSticker: (guildId, stickerId, options) => fetch({
599
+ method: "GET",
600
+ url: `/guilds/${guildId}/stickers/${stickerId}`,
601
+ options
602
+ }),
603
+ getGuildTemplate: (templateCode, options) => fetch({
604
+ method: "GET",
605
+ url: `/guilds/templates/${templateCode}`,
606
+ options
607
+ }),
608
+ getGuildTemplates: (guildId, options) => fetch({
609
+ method: "GET",
610
+ url: `/guilds/${guildId}/templates`,
611
+ options
612
+ }),
613
+ getGuildVanityUrl: (guildId, options) => fetch({
614
+ method: "GET",
615
+ url: `/guilds/${guildId}/vanity-url`,
616
+ options
617
+ }),
618
+ getGuildVoiceRegions: (guildId, options) => fetch({
619
+ method: "GET",
620
+ url: `/guilds/${guildId}/regions`,
621
+ options
622
+ }),
623
+ getGuildWebhooks: (guildId, options) => fetch({
624
+ method: "GET",
625
+ url: `/guilds/${guildId}/webhooks`,
626
+ options
627
+ }),
628
+ getGuildWelcomeScreen: (guildId, options) => fetch({
629
+ method: "GET",
630
+ url: `/guilds/${guildId}/welcome-screen`,
631
+ options
632
+ }),
633
+ getGuildWidget: (guildId, options) => fetch({
634
+ method: "GET",
635
+ url: `/guilds/${guildId}/widget.json`,
636
+ options
637
+ }),
638
+ getGuildWidgetImage: (guildId, params, options) => fetch({
639
+ method: "GET",
640
+ url: `/guilds/${guildId}/widget.png`,
641
+ params,
642
+ options
643
+ }),
644
+ getGuildWidgetSettings: (guildId, options) => fetch({
645
+ method: "GET",
646
+ url: `/guilds/${guildId}/widget`,
647
+ options
648
+ }),
649
+ getInvite: (inviteCode, params, options) => fetch({
650
+ method: "GET",
651
+ url: `/invites/${inviteCode}`,
652
+ params,
653
+ options
654
+ }),
655
+ getOriginalInteractionResponse: (applicationId, interactionToken, params, options) => fetch({
656
+ method: "GET",
657
+ url: `/webhooks/${applicationId}/${interactionToken}/messages/@original`,
658
+ params,
659
+ options
660
+ }),
661
+ getPinnedMessages: (channelId, options) => fetch({
662
+ method: "GET",
663
+ url: `/channels/${channelId}/pins`,
664
+ options
665
+ }),
666
+ getReactions: (channelId, messageId, emoji, params, options) => fetch({
667
+ method: "GET",
668
+ url: `/channels/${channelId}/messages/${messageId}/reactions/${emoji}`,
669
+ params,
670
+ options
671
+ }),
672
+ getStageInstance: (channelId, options) => fetch({
673
+ method: "GET",
674
+ url: `/stage-instances/${channelId}`,
675
+ options
676
+ }),
677
+ getSticker: (stickerId, options) => fetch({
678
+ method: "GET",
679
+ url: `/stickers/${stickerId}`,
680
+ options
681
+ }),
682
+ getThreadMember: (channelId, userId, params, options) => fetch({
683
+ method: "GET",
684
+ url: `/channels/${channelId}/thread-members/${userId}`,
685
+ params,
686
+ options
687
+ }),
688
+ getUser: (userId, options) => fetch({
689
+ method: "GET",
690
+ url: `/users/${userId}`,
691
+ options
692
+ }),
693
+ getUserApplicationRoleConnection: (applicationId, options) => fetch({
694
+ method: "GET",
695
+ url: `/users/@me/applications/${applicationId}/role-connection`,
696
+ options
697
+ }),
698
+ getUserConnections: options => fetch({
699
+ method: "GET",
700
+ url: `/users/@me/connections`,
701
+ options
702
+ }),
703
+ getWebhook: (webhookId, options) => fetch({
704
+ method: "GET",
705
+ url: `/webhooks/${webhookId}`,
706
+ options
707
+ }),
708
+ getWebhookMessage: (webhookId, webhookToken, messageId, params, options) => fetch({
709
+ method: "GET",
710
+ url: `/webhooks/${webhookId}/${webhookToken}/messages/${messageId}`,
711
+ params,
712
+ options
713
+ }),
714
+ getWebhookWithToken: (webhookId, webhookToken, options) => fetch({
715
+ method: "GET",
716
+ url: `/webhooks/${webhookId}/${webhookToken}`,
717
+ options
718
+ }),
719
+ groupDmAddRecipient: (channelId, userId, params, options) => fetch({
720
+ method: "PUT",
721
+ url: `/channels/${channelId}/recipients/${userId}`,
722
+ params,
723
+ options
724
+ }),
725
+ groupDmRemoveRecipient: (channelId, userId, options) => fetch({
726
+ method: "DELETE",
727
+ url: `/channels/${channelId}/recipients/${userId}`,
728
+ options
729
+ }),
730
+ joinThread: (channelId, options) => fetch({
731
+ method: "PUT",
732
+ url: `/channels/${channelId}/thread-members/@me`,
733
+ options
734
+ }),
735
+ leaveGuild: (guildId, options) => fetch({
736
+ method: "DELETE",
737
+ url: `/users/@me/guilds/${guildId}`,
738
+ options
739
+ }),
740
+ leaveThread: (channelId, options) => fetch({
741
+ method: "DELETE",
742
+ url: `/channels/${channelId}/thread-members/@me`,
743
+ options
744
+ }),
745
+ listActiveGuildThreads: (guildId, options) => fetch({
746
+ method: "GET",
747
+ url: `/guilds/${guildId}/threads/active`,
748
+ options
749
+ }),
750
+ listAutoModerationRulesForGuild: (guildId, options) => fetch({
751
+ method: "GET",
752
+ url: `/guilds/${guildId}/auto-moderation/rules`,
753
+ options
754
+ }),
755
+ listGuildEmojis: (guildId, options) => fetch({
756
+ method: "GET",
757
+ url: `/guilds/${guildId}/emojis`,
758
+ options
759
+ }),
760
+ listGuildMembers: (guildId, params, options) => fetch({
761
+ method: "GET",
762
+ url: `/guilds/${guildId}/members`,
763
+ params,
764
+ options
765
+ }),
766
+ listGuildStickers: (guildId, options) => fetch({
767
+ method: "GET",
768
+ url: `/guilds/${guildId}/stickers`,
769
+ options
770
+ }),
771
+ listJoinedPrivateArchivedThreads: (channelId, params, options) => fetch({
772
+ method: "GET",
773
+ url: `/channels/${channelId}/users/@me/threads/archived/private`,
774
+ params,
775
+ options
776
+ }),
777
+ listNitroStickerPacks: options => fetch({
778
+ method: "GET",
779
+ url: `/sticker-packs`,
780
+ options
781
+ }),
782
+ listPrivateArchivedThreads: (channelId, params, options) => fetch({
783
+ method: "GET",
784
+ url: `/channels/${channelId}/threads/archived/private`,
785
+ params,
786
+ options
787
+ }),
788
+ listPublicArchivedThreads: (channelId, params, options) => fetch({
789
+ method: "GET",
790
+ url: `/channels/${channelId}/threads/archived/public`,
791
+ params,
792
+ options
793
+ }),
794
+ listScheduledEventsForGuild: (guildId, params, options) => fetch({
795
+ method: "GET",
796
+ url: `/guilds/${guildId}/scheduled-events`,
797
+ params,
798
+ options
799
+ }),
800
+ listThreadMembers: (channelId, params, options) => fetch({
801
+ method: "GET",
802
+ url: `/channels/${channelId}/thread-members`,
803
+ params,
804
+ options
805
+ }),
806
+ listVoiceRegions: options => fetch({
807
+ method: "GET",
808
+ url: `/voice/regions`,
809
+ options
810
+ }),
811
+ modifyAutoModerationRule: (guildId, autoModerationRuleId, params, options) => fetch({
812
+ method: "PATCH",
813
+ url: `/guilds/${guildId}/auto-moderation/rules/${autoModerationRuleId}`,
814
+ params,
815
+ options
816
+ }),
817
+ modifyChannel: (channelId, params, options) => fetch({
818
+ method: "PATCH",
819
+ url: `/channels/${channelId}`,
820
+ params,
821
+ options
822
+ }),
823
+ modifyCurrentMember: (guildId, params, options) => fetch({
824
+ method: "PATCH",
825
+ url: `/guilds/${guildId}/members/@me`,
826
+ params,
827
+ options
828
+ }),
829
+ modifyCurrentUser: (params, options) => fetch({
830
+ method: "PATCH",
831
+ url: `/users/@me`,
832
+ params,
833
+ options
834
+ }),
835
+ modifyCurrentUserNick: (guildId, params, options) => fetch({
836
+ method: "PATCH",
837
+ url: `/guilds/${guildId}/members/@me/nick`,
838
+ params,
839
+ options
840
+ }),
841
+ modifyCurrentUserVoiceState: (guildId, params, options) => fetch({
842
+ method: "PATCH",
843
+ url: `/guilds/${guildId}/voice-states/@me`,
844
+ params,
845
+ options
846
+ }),
847
+ modifyGuild: (guildId, params, options) => fetch({
848
+ method: "PATCH",
849
+ url: `/guilds/${guildId}`,
850
+ params,
851
+ options
852
+ }),
853
+ modifyGuildChannelPositions: (guildId, params, options) => fetch({
854
+ method: "PATCH",
855
+ url: `/guilds/${guildId}/channels`,
856
+ params,
857
+ options
858
+ }),
859
+ modifyGuildEmoji: (guildId, emojiId, params, options) => fetch({
860
+ method: "PATCH",
861
+ url: `/guilds/${guildId}/emojis/${emojiId}`,
862
+ params,
863
+ options
864
+ }),
865
+ modifyGuildMember: (guildId, userId, params, options) => fetch({
866
+ method: "PATCH",
867
+ url: `/guilds/${guildId}/members/${userId}`,
868
+ params,
869
+ options
870
+ }),
871
+ modifyGuildMfaLevel: (guildId, params, options) => fetch({
872
+ method: "POST",
873
+ url: `/guilds/${guildId}/mfa`,
874
+ params,
875
+ options
876
+ }),
877
+ modifyGuildRole: (guildId, roleId, params, options) => fetch({
878
+ method: "PATCH",
879
+ url: `/guilds/${guildId}/roles/${roleId}`,
880
+ params,
881
+ options
882
+ }),
883
+ modifyGuildRolePositions: (guildId, params, options) => fetch({
884
+ method: "PATCH",
885
+ url: `/guilds/${guildId}/roles`,
886
+ params,
887
+ options
888
+ }),
889
+ modifyGuildScheduledEvent: (guildId, guildScheduledEventId, params, options) => fetch({
890
+ method: "PATCH",
891
+ url: `/guilds/${guildId}/scheduled-events/${guildScheduledEventId}`,
892
+ params,
893
+ options
894
+ }),
895
+ modifyGuildSticker: (guildId, stickerId, params, options) => fetch({
896
+ method: "PATCH",
897
+ url: `/guilds/${guildId}/stickers/${stickerId}`,
898
+ params,
899
+ options
900
+ }),
901
+ modifyGuildTemplate: (guildId, templateCode, params, options) => fetch({
902
+ method: "PATCH",
903
+ url: `/guilds/${guildId}/templates/${templateCode}`,
904
+ params,
905
+ options
906
+ }),
907
+ modifyGuildWelcomeScreen: (guildId, params, options) => fetch({
908
+ method: "PATCH",
909
+ url: `/guilds/${guildId}/welcome-screen`,
910
+ params,
911
+ options
912
+ }),
913
+ modifyGuildWidget: (guildId, options) => fetch({
914
+ method: "PATCH",
915
+ url: `/guilds/${guildId}/widget`,
916
+ options
917
+ }),
918
+ modifyStageInstance: (channelId, params, options) => fetch({
919
+ method: "PATCH",
920
+ url: `/stage-instances/${channelId}`,
921
+ params,
922
+ options
923
+ }),
924
+ modifyUserVoiceState: (guildId, userId, params, options) => fetch({
925
+ method: "PATCH",
926
+ url: `/guilds/${guildId}/voice-states/${userId}`,
927
+ params,
928
+ options
929
+ }),
930
+ modifyWebhook: (webhookId, params, options) => fetch({
931
+ method: "PATCH",
932
+ url: `/webhooks/${webhookId}`,
933
+ params,
934
+ options
935
+ }),
936
+ modifyWebhookWithToken: (webhookId, webhookToken, options) => fetch({
937
+ method: "PATCH",
938
+ url: `/webhooks/${webhookId}/${webhookToken}`,
939
+ options
940
+ }),
941
+ pinMessage: (channelId, messageId, options) => fetch({
942
+ method: "PUT",
943
+ url: `/channels/${channelId}/pins/${messageId}`,
944
+ options
945
+ }),
946
+ removeGuildBan: (guildId, userId, options) => fetch({
947
+ method: "DELETE",
948
+ url: `/guilds/${guildId}/bans/${userId}`,
949
+ options
950
+ }),
951
+ removeGuildMember: (guildId, userId, options) => fetch({
952
+ method: "DELETE",
953
+ url: `/guilds/${guildId}/members/${userId}`,
954
+ options
955
+ }),
956
+ removeGuildMemberRole: (guildId, userId, roleId, options) => fetch({
957
+ method: "DELETE",
958
+ url: `/guilds/${guildId}/members/${userId}/roles/${roleId}`,
959
+ options
960
+ }),
961
+ removeThreadMember: (channelId, userId, options) => fetch({
962
+ method: "DELETE",
963
+ url: `/channels/${channelId}/thread-members/${userId}`,
964
+ options
965
+ }),
966
+ searchGuildMembers: (guildId, params, options) => fetch({
967
+ method: "GET",
968
+ url: `/guilds/${guildId}/members/search`,
969
+ params,
970
+ options
971
+ }),
972
+ startThreadFromMessage: (channelId, messageId, params, options) => fetch({
973
+ method: "POST",
974
+ url: `/channels/${channelId}/messages/${messageId}/threads`,
975
+ params,
976
+ options
977
+ }),
978
+ startThreadInForumChannel: (channelId, params, options) => fetch({
979
+ method: "POST",
980
+ url: `/channels/${channelId}/threads`,
981
+ params,
982
+ options
983
+ }),
984
+ startThreadWithoutMessage: (channelId, params, options) => fetch({
985
+ method: "POST",
986
+ url: `/channels/${channelId}/threads`,
987
+ params,
988
+ options
989
+ }),
990
+ syncGuildTemplate: (guildId, templateCode, options) => fetch({
991
+ method: "PUT",
992
+ url: `/guilds/${guildId}/templates/${templateCode}`,
993
+ options
994
+ }),
995
+ triggerTypingIndicator: (channelId, options) => fetch({
996
+ method: "POST",
997
+ url: `/channels/${channelId}/typing`,
998
+ options
999
+ }),
1000
+ unpinMessage: (channelId, messageId, options) => fetch({
1001
+ method: "DELETE",
1002
+ url: `/channels/${channelId}/pins/${messageId}`,
1003
+ options
1004
+ }),
1005
+ updateApplicationRoleConnectionMetadataRecords: (applicationId, options) => fetch({
1006
+ method: "PUT",
1007
+ url: `/applications/${applicationId}/role-connections/metadata`,
1008
+ options
1009
+ }),
1010
+ updateUserApplicationRoleConnection: (applicationId, params, options) => fetch({
1011
+ method: "PUT",
1012
+ url: `/users/@me/applications/${applicationId}/role-connection`,
1013
+ params,
1014
+ options
1015
+ })
1016
+ };
1017
+ }
1018
+ export const GatewayIntents = {
1019
+ GUILDS: 1 << 0,
1020
+ GUILD_MEMBERS: 1 << 1,
1021
+ GUILD_MODERATION: 1 << 2,
1022
+ GUILD_EMOJIS_AND_STICKERS: 1 << 3,
1023
+ GUILD_INTEGRATIONS: 1 << 4,
1024
+ GUILD_WEBHOOKS: 1 << 5,
1025
+ GUILD_INVITES: 1 << 6,
1026
+ GUILD_VOICE_STATES: 1 << 7,
1027
+ GUILD_PRESENCES: 1 << 8,
1028
+ GUILD_MESSAGES: 1 << 9,
1029
+ GUILD_MESSAGE_REACTIONS: 1 << 10,
1030
+ GUILD_MESSAGE_TYPING: 1 << 11,
1031
+ DIRECT_MESSAGES: 1 << 12,
1032
+ DIRECT_MESSAGE_REACTIONS: 1 << 13,
1033
+ DIRECT_MESSAGE_TYPING: 1 << 14,
1034
+ MESSAGE_CONTENT: 1 << 15,
1035
+ GUILD_SCHEDULED_EVENTS: 1 << 16,
1036
+ AUTO_MODERATION_CONFIGURATION: 1 << 20,
1037
+ AUTO_MODERATION_EXECUTION: 1 << 21
1038
+ };
1039
+ export const GuildMemberFlag = {
1040
+ /** Member has left and rejoined the guild */
1041
+ DID_REJOIN: 1 << 0,
1042
+ /** Member has completed onboarding */
1043
+ COMPLETED_ONBOARDING: 1 << 1,
1044
+ /** Member is exempt from guild verification requirements */
1045
+ BYPASSES_VERIFICATION: 1 << 2,
1046
+ /** Member has started onboarding */
1047
+ STARTED_ONBOARDING: 1 << 3
1048
+ };
1049
+ export const MessageFlag = {
1050
+ /** this message has been published to subscribed channels (via Channel Following) */
1051
+ CROSSPOSTED: 1 << 0,
1052
+ /** this message originated from a message in another channel (via Channel Following) */
1053
+ IS_CROSSPOST: 1 << 1,
1054
+ /** do not include any embeds when serializing this message */
1055
+ SUPPRESS_EMBEDS: 1 << 2,
1056
+ /** the source message for this crosspost has been deleted (via Channel Following) */
1057
+ SOURCE_MESSAGE_DELETED: 1 << 3,
1058
+ /** this message came from the urgent message system */
1059
+ URGENT: 1 << 4,
1060
+ /** this message has an associated thread, with the same id as the message */
1061
+ HAS_THREAD: 1 << 5,
1062
+ /** this message is only visible to the user who invoked the Interaction */
1063
+ EPHEMERAL: 1 << 6,
1064
+ /** this message is an Interaction Response and the bot is "thinking" */
1065
+ LOADING: 1 << 7,
1066
+ /** this message failed to mention some roles and add their members to the thread */
1067
+ FAILED_TO_MENTION_SOME_ROLES_IN_THREAD: 1 << 8,
1068
+ /** this message will not trigger push and desktop notifications */
1069
+ SUPPRESS_NOTIFICATIONS: 1 << 12,
1070
+ /** this message is a voice message */
1071
+ IS_VOICE_MESSAGE: 1 << 13
1072
+ };
1073
+ export const PermissionFlag = {
1074
+ /** Allows creation of instant invites */
1075
+ CREATE_INSTANT_INVITE: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(0),
1076
+ /** Allows kicking members */
1077
+ KICK_MEMBERS: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(1),
1078
+ /** Allows banning members */
1079
+ BAN_MEMBERS: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(2),
1080
+ /** Allows all permissions and bypasses channel permission overwrites */
1081
+ ADMINISTRATOR: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(3),
1082
+ /** Allows management and editing of channels */
1083
+ MANAGE_CHANNELS: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(4),
1084
+ /** Allows management and editing of the guild */
1085
+ MANAGE_GUILD: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(5),
1086
+ /** Allows for the addition of reactions to messages */
1087
+ ADD_REACTIONS: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(6),
1088
+ /** Allows for viewing of audit logs */
1089
+ VIEW_AUDIT_LOG: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(7),
1090
+ /** Allows for using priority speaker in a voice channel */
1091
+ PRIORITY_SPEAKER: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(8),
1092
+ /** Allows the user to go live */
1093
+ STREAM: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(9),
1094
+ /** Allows guild members to view a channel, which includes reading messages in text channels and joining voice channels */
1095
+ VIEW_CHANNEL: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(10),
1096
+ /** Allows for sending messages in a channel and creating threads in a forum (does not allow sending messages in threads) */
1097
+ SEND_MESSAGES: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(11),
1098
+ /** Allows for sending of /tts messages */
1099
+ SEND_TTS_MESSAGES: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(12),
1100
+ /** Allows for deletion of other users messages */
1101
+ MANAGE_MESSAGES: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(13),
1102
+ /** Links sent by users with this permission will be auto-embedded */
1103
+ EMBED_LINKS: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(14),
1104
+ /** Allows for uploading images and files */
1105
+ ATTACH_FILES: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(15),
1106
+ /** Allows for reading of message history */
1107
+ READ_MESSAGE_HISTORY: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(16),
1108
+ /** Allows for using the @everyone tag to notify all users in a channel, and the @here tag to notify all online users in a channel */
1109
+ MENTION_EVERYONE: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(17),
1110
+ /** Allows the usage of custom emojis from other servers */
1111
+ USE_EXTERNAL_EMOJIS: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(18),
1112
+ /** Allows for viewing guild insights */
1113
+ VIEW_GUILD_INSIGHTS: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(19),
1114
+ /** Allows for joining of a voice channel */
1115
+ CONNECT: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(20),
1116
+ /** Allows for speaking in a voice channel */
1117
+ SPEAK: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(21),
1118
+ /** Allows for muting members in a voice channel */
1119
+ MUTE_MEMBERS: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(22),
1120
+ /** Allows for deafening of members in a voice channel */
1121
+ DEAFEN_MEMBERS: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(23),
1122
+ /** Allows for moving of members between voice channels */
1123
+ MOVE_MEMBERS: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(24),
1124
+ /** Allows for using voice-activity-detection in a voice channel */
1125
+ USE_VAD: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(25),
1126
+ /** Allows for modification of own nickname */
1127
+ CHANGE_NICKNAME: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(26),
1128
+ /** Allows for modification of other users nicknames */
1129
+ MANAGE_NICKNAMES: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(27),
1130
+ /** Allows management and editing of roles */
1131
+ MANAGE_ROLES: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(28),
1132
+ /** Allows management and editing of webhooks */
1133
+ MANAGE_WEBHOOKS: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(29),
1134
+ /** Allows management and editing of emojis, stickers, and soundboard sounds */
1135
+ MANAGE_GUILD_EXPRESSIONS: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(30),
1136
+ /** Allows members to use application commands, including slash commands and context menu commands. */
1137
+ USE_APPLICATION_COMMANDS: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(31),
1138
+ /** Allows for requesting to speak in stage channels. (This permission is under active development and may be changed or removed.) */
1139
+ REQUEST_TO_SPEAK: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(32),
1140
+ /** Allows for creating, editing, and deleting scheduled events */
1141
+ MANAGE_EVENTS: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(33),
1142
+ /** Allows for deleting and archiving threads, and viewing all private threads */
1143
+ MANAGE_THREADS: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(34),
1144
+ /** Allows for creating public and announcement threads */
1145
+ CREATE_PUBLIC_THREADS: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(35),
1146
+ /** Allows for creating private threads */
1147
+ CREATE_PRIVATE_THREADS: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(36),
1148
+ /** Allows the usage of custom stickers from other servers */
1149
+ USE_EXTERNAL_STICKERS: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(37),
1150
+ /** Allows for sending messages in threads */
1151
+ SEND_MESSAGES_IN_THREADS: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(38),
1152
+ /** Allows for using Activities (applications with the EMBEDDED flag) in a voice channel */
1153
+ USE_EMBEDDED_ACTIVITIES: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(39),
1154
+ /** Allows for timing out users to prevent them from sending or reacting to messages in chat and threads, and from speaking in voice and stage channels */
1155
+ MODERATE_MEMBERS: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(40),
1156
+ /** Allows for viewing role subscription insights */
1157
+ VIEW_CREATOR_MONETIZATION_ANALYTICS: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(41),
1158
+ /** Allows for using soundboard in a voice channel */
1159
+ USE_SOUNDBOARD: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(42),
1160
+ /** Allows the usage of custom soundboard sounds from other servers */
1161
+ USE_EXTERNAL_SOUNDS: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(45),
1162
+ /** Allows sending voice messages */
1163
+ SEND_VOICE_MESSAGES: /*#__PURE__*/BigInt(1) << /*#__PURE__*/BigInt(46)
1164
+ };
1165
+ export const SystemChannelFlag = {
1166
+ /** Suppress member join notifications */
1167
+ SUPPRESS_JOIN_NOTIFICATIONS: 1 << 0,
1168
+ /** Suppress server boost notifications */
1169
+ SUPPRESS_PREMIUM_SUBSCRIPTIONS: 1 << 1,
1170
+ /** Suppress server setup tips */
1171
+ SUPPRESS_GUILD_REMINDER_NOTIFICATIONS: 1 << 2,
1172
+ /** Hide member join sticker reply buttons */
1173
+ SUPPRESS_JOIN_NOTIFICATION_REPLIES: 1 << 3,
1174
+ /** Suppress role subscription purchase and renewal notifications */
1175
+ SUPPRESS_ROLE_SUBSCRIPTION_PURCHASE_NOTIFICATIONS: 1 << 4,
1176
+ /** Hide role subscription sticker reply buttons */
1177
+ SUPPRESS_ROLE_SUBSCRIPTION_PURCHASE_NOTIFICATION_REPLIES: 1 << 5
1178
+ };
1179
+ export const UserFlag = {
1180
+ /** Discord Employee */
1181
+ STAFF: 1 << 0,
1182
+ /** Partnered Server Owner */
1183
+ PARTNER: 1 << 1,
1184
+ /** HypeSquad Events Member */
1185
+ HYPESQUAD: 1 << 2,
1186
+ /** Bug Hunter Level 1 */
1187
+ BUG_HUNTER_LEVEL_1: 1 << 3,
1188
+ /** House Bravery Member */
1189
+ HYPESQUAD_ONLINE_HOUSE_1: 1 << 6,
1190
+ /** House Brilliance Member */
1191
+ HYPESQUAD_ONLINE_HOUSE_2: 1 << 7,
1192
+ /** House Balance Member */
1193
+ HYPESQUAD_ONLINE_HOUSE_3: 1 << 8,
1194
+ /** Early Nitro Supporter */
1195
+ PREMIUM_EARLY_SUPPORTER: 1 << 9,
1196
+ /** User is a team */
1197
+ TEAM_PSEUDO_USER: 1 << 10,
1198
+ /** Bug Hunter Level 2 */
1199
+ BUG_HUNTER_LEVEL_2: 1 << 14,
1200
+ /** Verified Bot */
1201
+ VERIFIED_BOT: 1 << 16,
1202
+ /** Early Verified Bot Developer */
1203
+ VERIFIED_DEVELOPER: 1 << 17,
1204
+ /** Moderator Programs Alumni */
1205
+ CERTIFIED_MODERATOR: 1 << 18,
1206
+ /** Bot uses only HTTP interactions and is shown in the online member list */
1207
+ BOT_HTTP_INTERACTIONS: 1 << 19,
1208
+ /** User is an Active Developer */
1209
+ ACTIVE_DEVELOPER: 1 << 22
1210
+ };
1211
+ //# sourceMappingURL=types.mjs.map