@duque.edits/sdk 1.1.0 → 1.1.3

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 (161) hide show
  1. package/dist/{index-C87LbIta.d.ts → index-BPxglVSk.d.ts} +83 -31
  2. package/dist/{index-BHHXH2xN.d.mts → index-DjHimKUy.d.mts} +83 -31
  3. package/dist/index.d.mts +2 -1
  4. package/dist/index.d.ts +2 -1
  5. package/dist/index.js +481 -292
  6. package/dist/index.mjs +481 -292
  7. package/dist/managers/automaticmessage/AutomaticMessageManager.d.mts +2 -1
  8. package/dist/managers/automaticmessage/AutomaticMessageManager.d.ts +2 -1
  9. package/dist/managers/automaticmessage/AutomaticMessageManager.js +41 -35
  10. package/dist/managers/automaticmessage/AutomaticMessageManager.mjs +41 -35
  11. package/dist/managers/base.d.mts +2 -1
  12. package/dist/managers/base.d.ts +2 -1
  13. package/dist/managers/base.js +3 -0
  14. package/dist/managers/base.mjs +3 -0
  15. package/dist/managers/bet/GuildBetManager.d.mts +2 -1
  16. package/dist/managers/bet/GuildBetManager.d.ts +2 -1
  17. package/dist/managers/bet/GuildBetManager.js +42 -30
  18. package/dist/managers/bet/GuildBetManager.mjs +42 -30
  19. package/dist/managers/betuser/GuildBetUserManager.d.mts +2 -1
  20. package/dist/managers/betuser/GuildBetUserManager.d.ts +2 -1
  21. package/dist/managers/betuser/GuildBetUserManager.js +32 -19
  22. package/dist/managers/betuser/GuildBetUserManager.mjs +32 -19
  23. package/dist/managers/buffer/BufferManager.d.mts +2 -1
  24. package/dist/managers/buffer/BufferManager.d.ts +2 -1
  25. package/dist/managers/buffer/BufferManager.js +1 -1
  26. package/dist/managers/buffer/BufferManager.mjs +1 -1
  27. package/dist/managers/guild/GuildManager.d.mts +2 -1
  28. package/dist/managers/guild/GuildManager.d.ts +2 -1
  29. package/dist/managers/guild/GuildManager.js +465 -279
  30. package/dist/managers/guild/GuildManager.mjs +465 -279
  31. package/dist/managers/index.d.mts +2 -1
  32. package/dist/managers/index.d.ts +2 -1
  33. package/dist/managers/index.js +480 -291
  34. package/dist/managers/index.mjs +480 -291
  35. package/dist/managers/logs/LogManager.d.mts +2 -1
  36. package/dist/managers/logs/LogManager.d.ts +2 -1
  37. package/dist/managers/logs/LogManager.js +24 -12
  38. package/dist/managers/logs/LogManager.mjs +24 -12
  39. package/dist/managers/match/GuildMatchManager.d.mts +2 -1
  40. package/dist/managers/match/GuildMatchManager.d.ts +2 -1
  41. package/dist/managers/match/GuildMatchManager.js +77 -61
  42. package/dist/managers/match/GuildMatchManager.mjs +77 -61
  43. package/dist/managers/mediator/GuildMediatorManager.d.mts +2 -1
  44. package/dist/managers/mediator/GuildMediatorManager.d.ts +2 -1
  45. package/dist/managers/mediator/GuildMediatorManager.js +30 -17
  46. package/dist/managers/mediator/GuildMediatorManager.mjs +30 -17
  47. package/dist/managers/message/MessagesManager.d.mts +2 -1
  48. package/dist/managers/message/MessagesManager.d.ts +2 -1
  49. package/dist/managers/minesgame/MinesGameManager.d.mts +2 -1
  50. package/dist/managers/minesgame/MinesGameManager.d.ts +2 -1
  51. package/dist/managers/minesgame/MinesGameManager.js +22 -13
  52. package/dist/managers/minesgame/MinesGameManager.mjs +22 -13
  53. package/dist/managers/permission/GuildPermissionManager.d.mts +2 -1
  54. package/dist/managers/permission/GuildPermissionManager.d.ts +2 -1
  55. package/dist/managers/permission/GuildPermissionManager.js +4 -1
  56. package/dist/managers/permission/GuildPermissionManager.mjs +4 -1
  57. package/dist/managers/player/PlayerManager.d.mts +2 -1
  58. package/dist/managers/player/PlayerManager.d.ts +2 -1
  59. package/dist/managers/ticket/TicketManager.d.mts +2 -1
  60. package/dist/managers/ticket/TicketManager.d.ts +2 -1
  61. package/dist/managers/ticket/TicketManager.js +42 -28
  62. package/dist/managers/ticket/TicketManager.mjs +42 -28
  63. package/dist/managers/tournament/TournamentManager.d.mts +21 -0
  64. package/dist/managers/tournament/TournamentManager.d.ts +21 -0
  65. package/dist/managers/tournament/TournamentManager.js +753 -0
  66. package/dist/managers/tournament/TournamentManager.mjs +745 -0
  67. package/dist/managers/user/GuildUserManager.d.mts +2 -1
  68. package/dist/managers/user/GuildUserManager.d.ts +2 -1
  69. package/dist/managers/user/GuildUserManager.js +49 -36
  70. package/dist/managers/user/GuildUserManager.mjs +49 -36
  71. package/dist/managers/vipmember/VipMemberManager.d.mts +2 -1
  72. package/dist/managers/vipmember/VipMemberManager.d.ts +2 -1
  73. package/dist/managers/vipmember/VipMemberManager.js +4 -1
  74. package/dist/managers/vipmember/VipMemberManager.mjs +4 -1
  75. package/dist/rest/REST.d.mts +2 -1
  76. package/dist/rest/REST.d.ts +2 -1
  77. package/dist/rest/REST.js +482 -293
  78. package/dist/rest/REST.mjs +482 -293
  79. package/dist/rest/Routes.js +1 -1
  80. package/dist/rest/Routes.mjs +1 -1
  81. package/dist/rest/index.d.mts +2 -1
  82. package/dist/rest/index.d.ts +2 -1
  83. package/dist/rest/index.js +482 -293
  84. package/dist/rest/index.mjs +482 -293
  85. package/dist/structures/automaticmessage/AutomaticMessage.d.mts +2 -1
  86. package/dist/structures/automaticmessage/AutomaticMessage.d.ts +2 -1
  87. package/dist/structures/automaticmessage/AutomaticMessage.js +30 -26
  88. package/dist/structures/automaticmessage/AutomaticMessage.mjs +30 -26
  89. package/dist/structures/bet/GuildBet.d.mts +2 -1
  90. package/dist/structures/bet/GuildBet.d.ts +2 -1
  91. package/dist/structures/bet/GuildBet.js +39 -30
  92. package/dist/structures/bet/GuildBet.mjs +39 -30
  93. package/dist/structures/betuser/GuildBetUser.d.mts +2 -1
  94. package/dist/structures/betuser/GuildBetUser.d.ts +2 -1
  95. package/dist/structures/betuser/GuildBetUser.js +29 -19
  96. package/dist/structures/betuser/GuildBetUser.mjs +29 -19
  97. package/dist/structures/guild/Guild.d.mts +2 -1
  98. package/dist/structures/guild/Guild.d.ts +2 -1
  99. package/dist/structures/guild/Guild.js +451 -274
  100. package/dist/structures/guild/Guild.mjs +451 -274
  101. package/dist/structures/index.d.mts +2 -1
  102. package/dist/structures/index.d.ts +2 -1
  103. package/dist/structures/index.js +468 -288
  104. package/dist/structures/index.mjs +468 -288
  105. package/dist/structures/logentry/LogEntry.d.mts +2 -1
  106. package/dist/structures/logentry/LogEntry.d.ts +2 -1
  107. package/dist/structures/logentry/LogEntry.js +21 -12
  108. package/dist/structures/logentry/LogEntry.mjs +21 -12
  109. package/dist/structures/match/GuildMatch.d.mts +2 -1
  110. package/dist/structures/match/GuildMatch.d.ts +2 -1
  111. package/dist/structures/match/GuildMatch.js +74 -61
  112. package/dist/structures/match/GuildMatch.mjs +74 -61
  113. package/dist/structures/mediator/GuildMediator.d.mts +2 -1
  114. package/dist/structures/mediator/GuildMediator.d.ts +2 -1
  115. package/dist/structures/mediator/GuildMediator.js +27 -17
  116. package/dist/structures/mediator/GuildMediator.mjs +27 -17
  117. package/dist/structures/minesgame/MinesGame.d.mts +2 -1
  118. package/dist/structures/minesgame/MinesGame.d.ts +2 -1
  119. package/dist/structures/minesgame/MinesGame.js +22 -13
  120. package/dist/structures/minesgame/MinesGame.mjs +22 -13
  121. package/dist/structures/ticket/Ticket.d.mts +2 -1
  122. package/dist/structures/ticket/Ticket.d.ts +2 -1
  123. package/dist/structures/ticket/Ticket.js +27 -18
  124. package/dist/structures/ticket/Ticket.mjs +27 -18
  125. package/dist/structures/tournament/Tournament.d.mts +21 -0
  126. package/dist/structures/tournament/Tournament.d.ts +21 -0
  127. package/dist/structures/tournament/Tournament.js +593 -0
  128. package/dist/structures/tournament/Tournament.mjs +585 -0
  129. package/dist/structures/user/GuildUser.d.mts +2 -1
  130. package/dist/structures/user/GuildUser.d.ts +2 -1
  131. package/dist/structures/user/GuildUser.js +46 -36
  132. package/dist/structures/user/GuildUser.mjs +46 -36
  133. package/dist/structures/vipmember/VipMember.d.mts +2 -1
  134. package/dist/structures/vipmember/VipMember.d.ts +2 -1
  135. package/dist/structures/vipmember/VipMember.js +1 -1
  136. package/dist/structures/vipmember/VipMember.mjs +1 -1
  137. package/dist/types/RestTypes.d.mts +2 -1
  138. package/dist/types/RestTypes.d.ts +2 -1
  139. package/dist/types/api/APIAutomaticMessage.d.mts +2 -1
  140. package/dist/types/api/APIAutomaticMessage.d.ts +2 -1
  141. package/dist/types/api/APIGuild.d.mts +2 -1
  142. package/dist/types/api/APIGuild.d.ts +2 -1
  143. package/dist/types/api/APIGuildBet.d.mts +2 -1
  144. package/dist/types/api/APIGuildBet.d.ts +2 -1
  145. package/dist/types/api/APIGuildBetUser.d.mts +2 -1
  146. package/dist/types/api/APIGuildBetUser.d.ts +2 -1
  147. package/dist/types/api/APIGuildGroupedChannel.d.mts +2 -1
  148. package/dist/types/api/APIGuildGroupedChannel.d.ts +2 -1
  149. package/dist/types/api/APIGuildMatch.d.mts +2 -1
  150. package/dist/types/api/APIGuildMatch.d.ts +2 -1
  151. package/dist/types/api/APIGuildUser.d.mts +2 -1
  152. package/dist/types/api/APIGuildUser.d.ts +2 -1
  153. package/dist/types/api/APITournament.d.mts +16 -0
  154. package/dist/types/api/APITournament.d.ts +16 -0
  155. package/dist/types/api/APITournament.js +18 -0
  156. package/dist/types/api/APITournament.mjs +0 -0
  157. package/dist/types/api/index.d.mts +2 -1
  158. package/dist/types/api/index.d.ts +2 -1
  159. package/dist/types/index.d.mts +2 -1
  160. package/dist/types/index.d.ts +2 -1
  161. package/package.json +1 -1
@@ -3,6 +3,9 @@ var __defProp = Object.defineProperty;
3
3
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
4
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
5
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __typeError = (msg) => {
7
+ throw TypeError(msg);
8
+ };
6
9
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
7
10
  var __export = (target, all) => {
8
11
  for (var name in all)
@@ -18,6 +21,9 @@ var __copyProps = (to, from, except, desc) => {
18
21
  };
19
22
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
23
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
24
+ var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
25
+ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
26
+ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
21
27
 
22
28
  // src/structures/user/GuildUser.ts
23
29
  var GuildUser_exports = {};
@@ -29,7 +35,7 @@ module.exports = __toCommonJS(GuildUser_exports);
29
35
  // src/rest/Routes.ts
30
36
  var Routes = {
31
37
  //base: "http://localhost:80/api/v1",
32
- base: "https://duque-api.up.railway.app/api/v1",
38
+ base: "https://duqueapi.shardweb.app/api/v1",
33
39
  field: (field) => `/${field}`,
34
40
  fields: (...fields) => `${fields.join("/")}`,
35
41
  guilds: {
@@ -129,7 +135,8 @@ var Routes = {
129
135
  };
130
136
 
131
137
  // src/structures/user/GuildUser.ts
132
- var GuildUser = class _GuildUser {
138
+ var _GuildUser_instances, updateInternals_fn;
139
+ var _GuildUser = class _GuildUser {
133
140
  /**
134
141
  * Bet user
135
142
  * @param data The user's data
@@ -137,6 +144,7 @@ var GuildUser = class _GuildUser {
137
144
  * @param rest The rest client
138
145
  */
139
146
  constructor(data, manager) {
147
+ __privateAdd(this, _GuildUser_instances);
140
148
  /** User's id */
141
149
  __publicField(this, "id");
142
150
  __publicField(this, "guild_id");
@@ -249,7 +257,7 @@ var GuildUser = class _GuildUser {
249
257
  url: route,
250
258
  payload
251
259
  });
252
- this._updateInternals(response);
260
+ __privateMethod(this, _GuildUser_instances, updateInternals_fn).call(this, response);
253
261
  return this;
254
262
  }
255
263
  async updateProfile(data) {
@@ -270,43 +278,14 @@ var GuildUser = class _GuildUser {
270
278
  url: route,
271
279
  payload: _data
272
280
  });
273
- this._updateInternals(response);
274
- return this;
275
- }
276
- _updateInternals(data) {
277
- for (let key in data) {
278
- if (key === "id" || key === "createdAt") continue;
279
- if (key in this) {
280
- this[key] = data[key];
281
- }
282
- if (key === "adverts") {
283
- this.adverts = [];
284
- for (let _adv of data.adverts) {
285
- this.adverts.push({
286
- _id: _adv._id,
287
- admin_id: _adv.admin_id,
288
- role_id: _adv.role_id,
289
- reason: _adv.reason,
290
- points_removed: _adv.points_removed,
291
- proof: _adv.proof,
292
- proof_ext: _adv.proof_ext,
293
- createdAt: _adv.createdAt ? new Date(_adv.createdAt) : /* @__PURE__ */ new Date(),
294
- updatedAt: _adv.updatedAt ? new Date(_adv.updatedAt) : /* @__PURE__ */ new Date()
295
- });
296
- }
297
- }
298
- }
299
- this.updatedAt = /* @__PURE__ */ new Date();
300
- this.createdAt = new Date(data.createdAt);
301
- this.manager.set(this);
302
- this.rest.emit("userUpdate", this);
281
+ __privateMethod(this, _GuildUser_instances, updateInternals_fn).call(this, response);
303
282
  return this;
304
283
  }
305
284
  async addAdvert(data) {
306
285
  const route = Routes.guilds.users.resource(this.manager.guild.id, this.id, "adverts");
307
286
  const payload = data;
308
287
  const response = await this.rest.request({ method: "POST", url: route, payload });
309
- return this._updateInternals(response);
288
+ return __privateMethod(this, _GuildUser_instances, updateInternals_fn).call(this, response);
310
289
  }
311
290
  async removeAdvert(advertId) {
312
291
  let advs = this.adverts;
@@ -315,7 +294,7 @@ var GuildUser = class _GuildUser {
315
294
  const payload = { adverts: advs };
316
295
  const route = Routes.guilds.users.update(this.manager.guild.id, this.id);
317
296
  const response = await this.rest.request({ method: "PATCH", url: route, payload });
318
- return this._updateInternals(response);
297
+ return __privateMethod(this, _GuildUser_instances, updateInternals_fn).call(this, response);
319
298
  }
320
299
  /**
321
300
  * Update certain property
@@ -366,7 +345,7 @@ var GuildUser = class _GuildUser {
366
345
  url: route,
367
346
  payload
368
347
  });
369
- this._updateInternals(response);
348
+ __privateMethod(this, _GuildUser_instances, updateInternals_fn).call(this, response);
370
349
  return this;
371
350
  }
372
351
  async delete() {
@@ -391,6 +370,37 @@ var GuildUser = class _GuildUser {
391
370
  return json;
392
371
  }
393
372
  };
373
+ _GuildUser_instances = new WeakSet();
374
+ updateInternals_fn = function(data) {
375
+ for (let key in data) {
376
+ if (key === "id" || key === "createdAt") continue;
377
+ if (key in this) {
378
+ this[key] = data[key];
379
+ }
380
+ if (key === "adverts") {
381
+ this.adverts = [];
382
+ for (let _adv of data.adverts) {
383
+ this.adverts.push({
384
+ _id: _adv._id,
385
+ admin_id: _adv.admin_id,
386
+ role_id: _adv.role_id,
387
+ reason: _adv.reason,
388
+ points_removed: _adv.points_removed,
389
+ proof: _adv.proof,
390
+ proof_ext: _adv.proof_ext,
391
+ createdAt: _adv.createdAt ? new Date(_adv.createdAt) : /* @__PURE__ */ new Date(),
392
+ updatedAt: _adv.updatedAt ? new Date(_adv.updatedAt) : /* @__PURE__ */ new Date()
393
+ });
394
+ }
395
+ }
396
+ }
397
+ this.updatedAt = /* @__PURE__ */ new Date();
398
+ this.createdAt = new Date(data.createdAt);
399
+ this.manager.set(this);
400
+ this.rest.emit("userUpdate", this);
401
+ return this;
402
+ };
403
+ var GuildUser = _GuildUser;
394
404
  // Annotate the CommonJS export names for ESM import in node:
395
405
  0 && (module.exports = {
396
406
  GuildUser
@@ -1,11 +1,17 @@
1
1
  var __defProp = Object.defineProperty;
2
+ var __typeError = (msg) => {
3
+ throw TypeError(msg);
4
+ };
2
5
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
3
6
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
7
+ var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
8
+ var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
9
+ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method);
4
10
 
5
11
  // src/rest/Routes.ts
6
12
  var Routes = {
7
13
  //base: "http://localhost:80/api/v1",
8
- base: "https://duque-api.up.railway.app/api/v1",
14
+ base: "https://duqueapi.shardweb.app/api/v1",
9
15
  field: (field) => `/${field}`,
10
16
  fields: (...fields) => `${fields.join("/")}`,
11
17
  guilds: {
@@ -105,7 +111,8 @@ var Routes = {
105
111
  };
106
112
 
107
113
  // src/structures/user/GuildUser.ts
108
- var GuildUser = class _GuildUser {
114
+ var _GuildUser_instances, updateInternals_fn;
115
+ var _GuildUser = class _GuildUser {
109
116
  /**
110
117
  * Bet user
111
118
  * @param data The user's data
@@ -113,6 +120,7 @@ var GuildUser = class _GuildUser {
113
120
  * @param rest The rest client
114
121
  */
115
122
  constructor(data, manager) {
123
+ __privateAdd(this, _GuildUser_instances);
116
124
  /** User's id */
117
125
  __publicField(this, "id");
118
126
  __publicField(this, "guild_id");
@@ -225,7 +233,7 @@ var GuildUser = class _GuildUser {
225
233
  url: route,
226
234
  payload
227
235
  });
228
- this._updateInternals(response);
236
+ __privateMethod(this, _GuildUser_instances, updateInternals_fn).call(this, response);
229
237
  return this;
230
238
  }
231
239
  async updateProfile(data) {
@@ -246,43 +254,14 @@ var GuildUser = class _GuildUser {
246
254
  url: route,
247
255
  payload: _data
248
256
  });
249
- this._updateInternals(response);
250
- return this;
251
- }
252
- _updateInternals(data) {
253
- for (let key in data) {
254
- if (key === "id" || key === "createdAt") continue;
255
- if (key in this) {
256
- this[key] = data[key];
257
- }
258
- if (key === "adverts") {
259
- this.adverts = [];
260
- for (let _adv of data.adverts) {
261
- this.adverts.push({
262
- _id: _adv._id,
263
- admin_id: _adv.admin_id,
264
- role_id: _adv.role_id,
265
- reason: _adv.reason,
266
- points_removed: _adv.points_removed,
267
- proof: _adv.proof,
268
- proof_ext: _adv.proof_ext,
269
- createdAt: _adv.createdAt ? new Date(_adv.createdAt) : /* @__PURE__ */ new Date(),
270
- updatedAt: _adv.updatedAt ? new Date(_adv.updatedAt) : /* @__PURE__ */ new Date()
271
- });
272
- }
273
- }
274
- }
275
- this.updatedAt = /* @__PURE__ */ new Date();
276
- this.createdAt = new Date(data.createdAt);
277
- this.manager.set(this);
278
- this.rest.emit("userUpdate", this);
257
+ __privateMethod(this, _GuildUser_instances, updateInternals_fn).call(this, response);
279
258
  return this;
280
259
  }
281
260
  async addAdvert(data) {
282
261
  const route = Routes.guilds.users.resource(this.manager.guild.id, this.id, "adverts");
283
262
  const payload = data;
284
263
  const response = await this.rest.request({ method: "POST", url: route, payload });
285
- return this._updateInternals(response);
264
+ return __privateMethod(this, _GuildUser_instances, updateInternals_fn).call(this, response);
286
265
  }
287
266
  async removeAdvert(advertId) {
288
267
  let advs = this.adverts;
@@ -291,7 +270,7 @@ var GuildUser = class _GuildUser {
291
270
  const payload = { adverts: advs };
292
271
  const route = Routes.guilds.users.update(this.manager.guild.id, this.id);
293
272
  const response = await this.rest.request({ method: "PATCH", url: route, payload });
294
- return this._updateInternals(response);
273
+ return __privateMethod(this, _GuildUser_instances, updateInternals_fn).call(this, response);
295
274
  }
296
275
  /**
297
276
  * Update certain property
@@ -342,7 +321,7 @@ var GuildUser = class _GuildUser {
342
321
  url: route,
343
322
  payload
344
323
  });
345
- this._updateInternals(response);
324
+ __privateMethod(this, _GuildUser_instances, updateInternals_fn).call(this, response);
346
325
  return this;
347
326
  }
348
327
  async delete() {
@@ -367,6 +346,37 @@ var GuildUser = class _GuildUser {
367
346
  return json;
368
347
  }
369
348
  };
349
+ _GuildUser_instances = new WeakSet();
350
+ updateInternals_fn = function(data) {
351
+ for (let key in data) {
352
+ if (key === "id" || key === "createdAt") continue;
353
+ if (key in this) {
354
+ this[key] = data[key];
355
+ }
356
+ if (key === "adverts") {
357
+ this.adverts = [];
358
+ for (let _adv of data.adverts) {
359
+ this.adverts.push({
360
+ _id: _adv._id,
361
+ admin_id: _adv.admin_id,
362
+ role_id: _adv.role_id,
363
+ reason: _adv.reason,
364
+ points_removed: _adv.points_removed,
365
+ proof: _adv.proof,
366
+ proof_ext: _adv.proof_ext,
367
+ createdAt: _adv.createdAt ? new Date(_adv.createdAt) : /* @__PURE__ */ new Date(),
368
+ updatedAt: _adv.updatedAt ? new Date(_adv.updatedAt) : /* @__PURE__ */ new Date()
369
+ });
370
+ }
371
+ }
372
+ }
373
+ this.updatedAt = /* @__PURE__ */ new Date();
374
+ this.createdAt = new Date(data.createdAt);
375
+ this.manager.set(this);
376
+ this.rest.emit("userUpdate", this);
377
+ return this;
378
+ };
379
+ var GuildUser = _GuildUser;
370
380
  export {
371
381
  GuildUser
372
382
  };
@@ -1,4 +1,4 @@
1
- export { s as VipMember } from '../../index-BHHXH2xN.mjs';
1
+ export { s as VipMember } from '../../index-DjHimKUy.mjs';
2
2
  import '../../types/api/APIVipMember.mjs';
3
3
  import '../../types/api/APIAdvert.mjs';
4
4
  import '../../types/api/APIBaseChannel.mjs';
@@ -18,3 +18,4 @@ import '../../types/api/APILogEntry.mjs';
18
18
  import '../../types/api/APIMinesGame.mjs';
19
19
  import '../Collection.mjs';
20
20
  import 'events';
21
+ import '../../types/api/APITournament.mjs';
@@ -1,4 +1,4 @@
1
- export { s as VipMember } from '../../index-C87LbIta.js';
1
+ export { s as VipMember } from '../../index-BPxglVSk.js';
2
2
  import '../../types/api/APIVipMember.js';
3
3
  import '../../types/api/APIAdvert.js';
4
4
  import '../../types/api/APIBaseChannel.js';
@@ -18,3 +18,4 @@ import '../../types/api/APILogEntry.js';
18
18
  import '../../types/api/APIMinesGame.js';
19
19
  import '../Collection.js';
20
20
  import 'events';
21
+ import '../../types/api/APITournament.js';
@@ -35,7 +35,7 @@ module.exports = __toCommonJS(VipMember_exports);
35
35
  // src/rest/Routes.ts
36
36
  var Routes = {
37
37
  //base: "http://localhost:80/api/v1",
38
- base: "https://duque-api.up.railway.app/api/v1",
38
+ base: "https://duqueapi.shardweb.app/api/v1",
39
39
  field: (field) => `/${field}`,
40
40
  fields: (...fields) => `${fields.join("/")}`,
41
41
  guilds: {
@@ -11,7 +11,7 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
11
11
  // src/rest/Routes.ts
12
12
  var Routes = {
13
13
  //base: "http://localhost:80/api/v1",
14
- base: "https://duque-api.up.railway.app/api/v1",
14
+ base: "https://duqueapi.shardweb.app/api/v1",
15
15
  field: (field) => `/${field}`,
16
16
  fields: (...fields) => `${fields.join("/")}`,
17
17
  guilds: {
@@ -1,4 +1,4 @@
1
- export { ah as RequestOptions, ai as RestEvents } from '../index-BHHXH2xN.mjs';
1
+ export { ah as RequestOptions, ai as RestEvents } from '../index-DjHimKUy.mjs';
2
2
  import '../structures/Collection.mjs';
3
3
  import './api/APIAdvert.mjs';
4
4
  import './api/APIBaseChannel.mjs';
@@ -18,3 +18,4 @@ import './api/APILogEntry.mjs';
18
18
  import './api/APIMinesGame.mjs';
19
19
  import './api/APIVipMember.mjs';
20
20
  import 'events';
21
+ import './api/APITournament.mjs';
@@ -1,4 +1,4 @@
1
- export { ah as RequestOptions, ai as RestEvents } from '../index-C87LbIta.js';
1
+ export { ah as RequestOptions, ai as RestEvents } from '../index-BPxglVSk.js';
2
2
  import '../structures/Collection.js';
3
3
  import './api/APIAdvert.js';
4
4
  import './api/APIBaseChannel.js';
@@ -18,3 +18,4 @@ import './api/APILogEntry.js';
18
18
  import './api/APIMinesGame.js';
19
19
  import './api/APIVipMember.js';
20
20
  import 'events';
21
+ import './api/APITournament.js';
@@ -1,4 +1,4 @@
1
- export { U as APIAutomaticMessage } from '../../index-BHHXH2xN.mjs';
1
+ export { U as APIAutomaticMessage } from '../../index-DjHimKUy.mjs';
2
2
  import './APIAdvert.mjs';
3
3
  import './APIBaseChannel.mjs';
4
4
  import './APIBetChannel.mjs';
@@ -18,3 +18,4 @@ import './APIMinesGame.mjs';
18
18
  import './APIVipMember.mjs';
19
19
  import '../../structures/Collection.mjs';
20
20
  import 'events';
21
+ import './APITournament.mjs';
@@ -1,4 +1,4 @@
1
- export { U as APIAutomaticMessage } from '../../index-C87LbIta.js';
1
+ export { U as APIAutomaticMessage } from '../../index-BPxglVSk.js';
2
2
  import './APIAdvert.js';
3
3
  import './APIBaseChannel.js';
4
4
  import './APIBetChannel.js';
@@ -18,3 +18,4 @@ import './APIMinesGame.js';
18
18
  import './APIVipMember.js';
19
19
  import '../../structures/Collection.js';
20
20
  import 'events';
21
+ import './APITournament.js';
@@ -1,4 +1,4 @@
1
- export { a5 as APIGuild, a3 as AutomaticMessagesTypes, _ as DailyCategories, a4 as GuildChannelsType, Z as GuildModes, $ as GuildPrices, a0 as GuildScores, X as GuildStatus, Y as GuildStatusEnum, W as GuildTicketConfiguration, a1 as RoulettePrize, a2 as RouletteSettings } from '../../index-BHHXH2xN.mjs';
1
+ export { a5 as APIGuild, a3 as AutomaticMessagesTypes, _ as DailyCategories, a4 as GuildChannelsType, Z as GuildModes, $ as GuildPrices, a0 as GuildScores, X as GuildStatus, Y as GuildStatusEnum, W as GuildTicketConfiguration, a1 as RoulettePrize, a2 as RouletteSettings } from '../../index-DjHimKUy.mjs';
2
2
  import './APIGuildPermissions.mjs';
3
3
  import './APIGuildShop.mjs';
4
4
  import './APIGuildAdvert.mjs';
@@ -18,3 +18,4 @@ import './APIProduct.mjs';
18
18
  import './APIVipMember.mjs';
19
19
  import '../../structures/Collection.mjs';
20
20
  import 'events';
21
+ import './APITournament.mjs';
@@ -1,4 +1,4 @@
1
- export { a5 as APIGuild, a3 as AutomaticMessagesTypes, _ as DailyCategories, a4 as GuildChannelsType, Z as GuildModes, $ as GuildPrices, a0 as GuildScores, X as GuildStatus, Y as GuildStatusEnum, W as GuildTicketConfiguration, a1 as RoulettePrize, a2 as RouletteSettings } from '../../index-C87LbIta.js';
1
+ export { a5 as APIGuild, a3 as AutomaticMessagesTypes, _ as DailyCategories, a4 as GuildChannelsType, Z as GuildModes, $ as GuildPrices, a0 as GuildScores, X as GuildStatus, Y as GuildStatusEnum, W as GuildTicketConfiguration, a1 as RoulettePrize, a2 as RouletteSettings } from '../../index-BPxglVSk.js';
2
2
  import './APIGuildPermissions.js';
3
3
  import './APIGuildShop.js';
4
4
  import './APIGuildAdvert.js';
@@ -18,3 +18,4 @@ import './APIProduct.js';
18
18
  import './APIVipMember.js';
19
19
  import '../../structures/Collection.js';
20
20
  import 'events';
21
+ import './APITournament.js';
@@ -1,4 +1,4 @@
1
- export { a8 as APIGuildBet, a7 as BetChannelTypes, a6 as BetQueue } from '../../index-BHHXH2xN.mjs';
1
+ export { a8 as APIGuildBet, a7 as BetChannelTypes, a6 as BetQueue } from '../../index-DjHimKUy.mjs';
2
2
  import './APIBetChannel.mjs';
3
3
  import './APIMessage.mjs';
4
4
  import './APIPlayer.mjs';
@@ -18,3 +18,4 @@ import './APIMinesGame.mjs';
18
18
  import './APIVipMember.mjs';
19
19
  import '../../structures/Collection.mjs';
20
20
  import 'events';
21
+ import './APITournament.mjs';
@@ -1,4 +1,4 @@
1
- export { a8 as APIGuildBet, a7 as BetChannelTypes, a6 as BetQueue } from '../../index-C87LbIta.js';
1
+ export { a8 as APIGuildBet, a7 as BetChannelTypes, a6 as BetQueue } from '../../index-BPxglVSk.js';
2
2
  import './APIBetChannel.js';
3
3
  import './APIMessage.js';
4
4
  import './APIPlayer.js';
@@ -18,3 +18,4 @@ import './APIMinesGame.js';
18
18
  import './APIVipMember.js';
19
19
  import '../../structures/Collection.js';
20
20
  import 'events';
21
+ import './APITournament.js';
@@ -1,4 +1,4 @@
1
- export { a9 as APIGuildBetUser } from '../../index-BHHXH2xN.mjs';
1
+ export { a9 as APIGuildBetUser } from '../../index-DjHimKUy.mjs';
2
2
  import './APIAdvert.mjs';
3
3
  import './APIBaseChannel.mjs';
4
4
  import './APIBetChannel.mjs';
@@ -18,3 +18,4 @@ import './APIMinesGame.mjs';
18
18
  import './APIVipMember.mjs';
19
19
  import '../../structures/Collection.mjs';
20
20
  import 'events';
21
+ import './APITournament.mjs';
@@ -1,4 +1,4 @@
1
- export { a9 as APIGuildBetUser } from '../../index-C87LbIta.js';
1
+ export { a9 as APIGuildBetUser } from '../../index-BPxglVSk.js';
2
2
  import './APIAdvert.js';
3
3
  import './APIBaseChannel.js';
4
4
  import './APIBetChannel.js';
@@ -18,3 +18,4 @@ import './APIMinesGame.js';
18
18
  import './APIVipMember.js';
19
19
  import '../../structures/Collection.js';
20
20
  import 'events';
21
+ import './APITournament.js';
@@ -1,4 +1,4 @@
1
- export { aa as APIGuildGroupedChannel } from '../../index-BHHXH2xN.mjs';
1
+ export { aa as APIGuildGroupedChannel } from '../../index-DjHimKUy.mjs';
2
2
  import './APIAdvert.mjs';
3
3
  import './APIBaseChannel.mjs';
4
4
  import './APIBetChannel.mjs';
@@ -18,3 +18,4 @@ import './APIMinesGame.mjs';
18
18
  import './APIVipMember.mjs';
19
19
  import '../../structures/Collection.mjs';
20
20
  import 'events';
21
+ import './APITournament.mjs';
@@ -1,4 +1,4 @@
1
- export { aa as APIGuildGroupedChannel } from '../../index-C87LbIta.js';
1
+ export { aa as APIGuildGroupedChannel } from '../../index-BPxglVSk.js';
2
2
  import './APIAdvert.js';
3
3
  import './APIBaseChannel.js';
4
4
  import './APIBetChannel.js';
@@ -18,3 +18,4 @@ import './APIMinesGame.js';
18
18
  import './APIVipMember.js';
19
19
  import '../../structures/Collection.js';
20
20
  import 'events';
21
+ import './APITournament.js';
@@ -1,4 +1,4 @@
1
- export { ac as APIGuildMatch, ad as GuildMatchChannelsType, ae as GuildMatchMessagesType, ab as MatchSelection } from '../../index-BHHXH2xN.mjs';
1
+ export { ac as APIGuildMatch, ad as GuildMatchChannelsType, ae as GuildMatchMessagesType, ab as MatchSelection } from '../../index-DjHimKUy.mjs';
2
2
  import './APIPlayer.mjs';
3
3
  import './APIBaseChannel.mjs';
4
4
  import './APIMessage.mjs';
@@ -18,3 +18,4 @@ import './APIMinesGame.mjs';
18
18
  import './APIVipMember.mjs';
19
19
  import '../../structures/Collection.mjs';
20
20
  import 'events';
21
+ import './APITournament.mjs';
@@ -1,4 +1,4 @@
1
- export { ac as APIGuildMatch, ad as GuildMatchChannelsType, ae as GuildMatchMessagesType, ab as MatchSelection } from '../../index-C87LbIta.js';
1
+ export { ac as APIGuildMatch, ad as GuildMatchChannelsType, ae as GuildMatchMessagesType, ab as MatchSelection } from '../../index-BPxglVSk.js';
2
2
  import './APIPlayer.js';
3
3
  import './APIBaseChannel.js';
4
4
  import './APIMessage.js';
@@ -18,3 +18,4 @@ import './APIMinesGame.js';
18
18
  import './APIVipMember.js';
19
19
  import '../../structures/Collection.js';
20
20
  import 'events';
21
+ import './APITournament.js';
@@ -1,4 +1,4 @@
1
- export { ag as APIGuildUser, af as Profile } from '../../index-BHHXH2xN.mjs';
1
+ export { ag as APIGuildUser, af as Profile } from '../../index-DjHimKUy.mjs';
2
2
  import './APIAdvert.mjs';
3
3
  import './APIBaseChannel.mjs';
4
4
  import './APIBetChannel.mjs';
@@ -18,3 +18,4 @@ import './APIMinesGame.mjs';
18
18
  import './APIVipMember.mjs';
19
19
  import '../../structures/Collection.mjs';
20
20
  import 'events';
21
+ import './APITournament.mjs';
@@ -1,4 +1,4 @@
1
- export { ag as APIGuildUser, af as Profile } from '../../index-C87LbIta.js';
1
+ export { ag as APIGuildUser, af as Profile } from '../../index-BPxglVSk.js';
2
2
  import './APIAdvert.js';
3
3
  import './APIBaseChannel.js';
4
4
  import './APIBetChannel.js';
@@ -18,3 +18,4 @@ import './APIMinesGame.js';
18
18
  import './APIVipMember.js';
19
19
  import '../../structures/Collection.js';
20
20
  import 'events';
21
+ import './APITournament.js';
@@ -0,0 +1,16 @@
1
+ import { APIPlayer } from './APIPlayer.mjs';
2
+
3
+ interface APITournament {
4
+ _id: string;
5
+ guild_id: string;
6
+ type: string;
7
+ max_teams: number;
8
+ teams: APIPlayer[][];
9
+ message: any;
10
+ message_id: string;
11
+ status: "created" | "on" | "off";
12
+ createdAt: Date;
13
+ updatedAt: Date;
14
+ }
15
+
16
+ export type { APITournament };
@@ -0,0 +1,16 @@
1
+ import { APIPlayer } from './APIPlayer.js';
2
+
3
+ interface APITournament {
4
+ _id: string;
5
+ guild_id: string;
6
+ type: string;
7
+ max_teams: number;
8
+ teams: APIPlayer[][];
9
+ message: any;
10
+ message_id: string;
11
+ status: "created" | "on" | "off";
12
+ createdAt: Date;
13
+ updatedAt: Date;
14
+ }
15
+
16
+ export type { APITournament };
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __copyProps = (to, from, except, desc) => {
7
+ if (from && typeof from === "object" || typeof from === "function") {
8
+ for (let key of __getOwnPropNames(from))
9
+ if (!__hasOwnProp.call(to, key) && key !== except)
10
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
11
+ }
12
+ return to;
13
+ };
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+
16
+ // src/types/api/APITournament.ts
17
+ var APITournament_exports = {};
18
+ module.exports = __toCommonJS(APITournament_exports);
File without changes
@@ -1,5 +1,5 @@
1
1
  export { APIAdvert } from './APIAdvert.mjs';
2
- export { U as APIAutomaticMessage, a5 as APIGuild, a8 as APIGuildBet, a9 as APIGuildBetUser, aa as APIGuildGroupedChannel, ac as APIGuildMatch, ag as APIGuildUser, v as APITicketCategory, D as Accessory, a3 as AutomaticMessagesTypes, Q as BETSTATUS, H as Banner, x as BaseMatchModes, y as BaseMatchStatus, a7 as BetChannelTypes, a6 as BetQueue, I as Confirm, E as Daily, _ as DailyCategories, a4 as GuildChannelsType, ad as GuildMatchChannelsType, ae as GuildMatchMessagesType, Z as GuildModes, $ as GuildPrices, a0 as GuildScores, X as GuildStatus, Y as GuildStatusEnum, W as GuildTicketConfiguration, w as LogMessage, z as Logs, N as MATCHSTATUS, K as MATCHTYPES, ab as MatchSelection, J as Optional, O as OriginalChannel, C as OriginalChannels, af as Profile, P as ProfileCard, a1 as RoulettePrize, a2 as RouletteSettings, S as STATES, T as StatusResponse } from '../../index-BHHXH2xN.mjs';
2
+ export { U as APIAutomaticMessage, a5 as APIGuild, a8 as APIGuildBet, a9 as APIGuildBetUser, aa as APIGuildGroupedChannel, ac as APIGuildMatch, ag as APIGuildUser, v as APITicketCategory, D as Accessory, a3 as AutomaticMessagesTypes, Q as BETSTATUS, H as Banner, x as BaseMatchModes, y as BaseMatchStatus, a7 as BetChannelTypes, a6 as BetQueue, I as Confirm, E as Daily, _ as DailyCategories, a4 as GuildChannelsType, ad as GuildMatchChannelsType, ae as GuildMatchMessagesType, Z as GuildModes, $ as GuildPrices, a0 as GuildScores, X as GuildStatus, Y as GuildStatusEnum, W as GuildTicketConfiguration, w as LogMessage, z as Logs, N as MATCHSTATUS, K as MATCHTYPES, ab as MatchSelection, J as Optional, O as OriginalChannel, C as OriginalChannels, af as Profile, P as ProfileCard, a1 as RoulettePrize, a2 as RouletteSettings, S as STATES, T as StatusResponse } from '../../index-DjHimKUy.mjs';
3
3
  export { APIBaseChannel } from './APIBaseChannel.mjs';
4
4
  export { APIBetChannel } from './APIBetChannel.mjs';
5
5
  export { APICode } from './APICode.mjs';
@@ -18,3 +18,4 @@ export { APIProduct } from './APIProduct.mjs';
18
18
  export { APIVipMember } from './APIVipMember.mjs';
19
19
  import '../../structures/Collection.mjs';
20
20
  import 'events';
21
+ import './APITournament.mjs';
@@ -1,5 +1,5 @@
1
1
  export { APIAdvert } from './APIAdvert.js';
2
- export { U as APIAutomaticMessage, a5 as APIGuild, a8 as APIGuildBet, a9 as APIGuildBetUser, aa as APIGuildGroupedChannel, ac as APIGuildMatch, ag as APIGuildUser, v as APITicketCategory, D as Accessory, a3 as AutomaticMessagesTypes, Q as BETSTATUS, H as Banner, x as BaseMatchModes, y as BaseMatchStatus, a7 as BetChannelTypes, a6 as BetQueue, I as Confirm, E as Daily, _ as DailyCategories, a4 as GuildChannelsType, ad as GuildMatchChannelsType, ae as GuildMatchMessagesType, Z as GuildModes, $ as GuildPrices, a0 as GuildScores, X as GuildStatus, Y as GuildStatusEnum, W as GuildTicketConfiguration, w as LogMessage, z as Logs, N as MATCHSTATUS, K as MATCHTYPES, ab as MatchSelection, J as Optional, O as OriginalChannel, C as OriginalChannels, af as Profile, P as ProfileCard, a1 as RoulettePrize, a2 as RouletteSettings, S as STATES, T as StatusResponse } from '../../index-C87LbIta.js';
2
+ export { U as APIAutomaticMessage, a5 as APIGuild, a8 as APIGuildBet, a9 as APIGuildBetUser, aa as APIGuildGroupedChannel, ac as APIGuildMatch, ag as APIGuildUser, v as APITicketCategory, D as Accessory, a3 as AutomaticMessagesTypes, Q as BETSTATUS, H as Banner, x as BaseMatchModes, y as BaseMatchStatus, a7 as BetChannelTypes, a6 as BetQueue, I as Confirm, E as Daily, _ as DailyCategories, a4 as GuildChannelsType, ad as GuildMatchChannelsType, ae as GuildMatchMessagesType, Z as GuildModes, $ as GuildPrices, a0 as GuildScores, X as GuildStatus, Y as GuildStatusEnum, W as GuildTicketConfiguration, w as LogMessage, z as Logs, N as MATCHSTATUS, K as MATCHTYPES, ab as MatchSelection, J as Optional, O as OriginalChannel, C as OriginalChannels, af as Profile, P as ProfileCard, a1 as RoulettePrize, a2 as RouletteSettings, S as STATES, T as StatusResponse } from '../../index-BPxglVSk.js';
3
3
  export { APIBaseChannel } from './APIBaseChannel.js';
4
4
  export { APIBetChannel } from './APIBetChannel.js';
5
5
  export { APICode } from './APICode.js';
@@ -18,3 +18,4 @@ export { APIProduct } from './APIProduct.js';
18
18
  export { APIVipMember } from './APIVipMember.js';
19
19
  import '../../structures/Collection.js';
20
20
  import 'events';
21
+ import './APITournament.js';
@@ -1,4 +1,4 @@
1
- export { U as APIAutomaticMessage, a5 as APIGuild, a8 as APIGuildBet, a9 as APIGuildBetUser, aa as APIGuildGroupedChannel, ac as APIGuildMatch, ag as APIGuildUser, v as APITicketCategory, D as Accessory, a3 as AutomaticMessagesTypes, Q as BETSTATUS, H as Banner, x as BaseMatchModes, y as BaseMatchStatus, a7 as BetChannelTypes, a6 as BetQueue, I as Confirm, E as Daily, _ as DailyCategories, a4 as GuildChannelsType, ad as GuildMatchChannelsType, ae as GuildMatchMessagesType, Z as GuildModes, $ as GuildPrices, a0 as GuildScores, X as GuildStatus, Y as GuildStatusEnum, W as GuildTicketConfiguration, w as LogMessage, z as Logs, N as MATCHSTATUS, K as MATCHTYPES, ab as MatchSelection, J as Optional, O as OriginalChannel, C as OriginalChannels, af as Profile, P as ProfileCard, ah as RequestOptions, ai as RestEvents, a1 as RoulettePrize, a2 as RouletteSettings, S as STATES, T as StatusResponse } from '../index-BHHXH2xN.mjs';
1
+ export { U as APIAutomaticMessage, a5 as APIGuild, a8 as APIGuildBet, a9 as APIGuildBetUser, aa as APIGuildGroupedChannel, ac as APIGuildMatch, ag as APIGuildUser, v as APITicketCategory, D as Accessory, a3 as AutomaticMessagesTypes, Q as BETSTATUS, H as Banner, x as BaseMatchModes, y as BaseMatchStatus, a7 as BetChannelTypes, a6 as BetQueue, I as Confirm, E as Daily, _ as DailyCategories, a4 as GuildChannelsType, ad as GuildMatchChannelsType, ae as GuildMatchMessagesType, Z as GuildModes, $ as GuildPrices, a0 as GuildScores, X as GuildStatus, Y as GuildStatusEnum, W as GuildTicketConfiguration, w as LogMessage, z as Logs, N as MATCHSTATUS, K as MATCHTYPES, ab as MatchSelection, J as Optional, O as OriginalChannel, C as OriginalChannels, af as Profile, P as ProfileCard, ah as RequestOptions, ai as RestEvents, a1 as RoulettePrize, a2 as RouletteSettings, S as STATES, T as StatusResponse } from '../index-DjHimKUy.mjs';
2
2
  export { APIAdvert } from './api/APIAdvert.mjs';
3
3
  export { APIBaseChannel } from './api/APIBaseChannel.mjs';
4
4
  export { APIBetChannel } from './api/APIBetChannel.mjs';
@@ -18,3 +18,4 @@ export { APIProduct } from './api/APIProduct.mjs';
18
18
  export { APIVipMember } from './api/APIVipMember.mjs';
19
19
  import '../structures/Collection.mjs';
20
20
  import 'events';
21
+ import './api/APITournament.mjs';