@duque.edits/sdk 1.6.3 → 1.6.5

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 (59) hide show
  1. package/dist/{index-BwmNIP2p.d.ts → index-Ba4fOyKx.d.ts} +284 -271
  2. package/dist/index.d.ts +2 -1
  3. package/dist/managers/automaticmessage/AutomaticMessageManager.d.ts +2 -1
  4. package/dist/managers/base.d.ts +2 -1
  5. package/dist/managers/bet/GuildBetManager.d.ts +2 -1
  6. package/dist/managers/betuser/GuildBetUserManager.d.ts +2 -1
  7. package/dist/managers/buffer/BufferManager.d.ts +2 -1
  8. package/dist/managers/guild/GuildManager.d.ts +2 -1
  9. package/dist/managers/index.d.ts +2 -1
  10. package/dist/managers/logs/LogManager.d.ts +2 -1
  11. package/dist/managers/match/GuildMatchManager.d.ts +2 -1
  12. package/dist/managers/mediator/GuildMediatorManager.d.ts +2 -1
  13. package/dist/managers/message/MessagesManager.d.ts +2 -1
  14. package/dist/managers/minesgame/MinesGameManager.d.ts +2 -1
  15. package/dist/managers/permission/GuildPermissionManager.d.ts +2 -1
  16. package/dist/managers/player/PlayerManager.d.ts +2 -1
  17. package/dist/managers/product/ProductManager.d.ts +2 -1
  18. package/dist/managers/shop/ShopManager.d.ts +2 -1
  19. package/dist/managers/ticket/TicketManager.d.ts +2 -1
  20. package/dist/managers/ticketpanel/TicketPanelManager.d.ts +2 -1
  21. package/dist/managers/tournament/TournamentManager.d.ts +2 -1
  22. package/dist/managers/user/GuildUserManager.d.ts +2 -1
  23. package/dist/managers/user/GuildUserManager.js +0 -1
  24. package/dist/managers/vipmember/VipMemberManager.d.ts +2 -1
  25. package/dist/rest/REST.d.ts +2 -1
  26. package/dist/rest/index.d.ts +2 -1
  27. package/dist/structures/automaticmessage/AutomaticMessage.d.ts +2 -1
  28. package/dist/structures/bet/GuildBet.d.ts +2 -1
  29. package/dist/structures/betuser/GuildBetUser.d.ts +2 -1
  30. package/dist/structures/guild/Guild.d.ts +2 -1
  31. package/dist/structures/guild/Guild.js +49 -0
  32. package/dist/structures/index.d.ts +2 -1
  33. package/dist/structures/logentry/LogEntry.d.ts +2 -1
  34. package/dist/structures/match/GuildMatch.d.ts +2 -1
  35. package/dist/structures/mediator/GuildMediator.d.ts +2 -1
  36. package/dist/structures/minesgame/MinesGame.d.ts +2 -1
  37. package/dist/structures/product/Product.d.ts +2 -1
  38. package/dist/structures/shop/Shop.d.ts +2 -1
  39. package/dist/structures/ticket/Ticket.d.ts +2 -1
  40. package/dist/structures/ticketpanel/TicketPanel.d.ts +2 -1
  41. package/dist/structures/tournament/Tournament.d.ts +2 -1
  42. package/dist/structures/user/GuildUser.d.ts +2 -1
  43. package/dist/structures/user/GuildUser.js +3 -1
  44. package/dist/structures/vipmember/VipMember.d.ts +2 -1
  45. package/dist/types/RestTypes.d.ts +2 -1
  46. package/dist/types/api/APIAutomaticMessage.d.ts +2 -1
  47. package/dist/types/api/APIAutomaticRole.d.ts +18 -0
  48. package/dist/types/api/APIAutomaticRole.js +36 -0
  49. package/dist/types/api/APIGuild.d.ts +2 -1
  50. package/dist/types/api/APIGuildBet.d.ts +2 -1
  51. package/dist/types/api/APIGuildBetUser.d.ts +2 -1
  52. package/dist/types/api/APIGuildGroupedChannel.d.ts +2 -1
  53. package/dist/types/api/APIGuildMatch.d.ts +2 -1
  54. package/dist/types/api/APIGuildUser.d.ts +2 -1
  55. package/dist/types/api/APITicketPanel.d.ts +2 -1
  56. package/dist/types/api/index.d.ts +2 -1
  57. package/dist/types/api/index.js +2 -0
  58. package/dist/types/index.d.ts +2 -1
  59. package/package.json +1 -1
@@ -1,4 +1,5 @@
1
1
  import { APIAdvert } from './types/api/APIAdvert.js';
2
+ import { APIAutomaticRole, AutomaticRolesTypes } from './types/api/APIAutomaticRole.js';
2
3
  import { APIBaseChannel } from './types/api/APIBaseChannel.js';
3
4
  import { APIBetChannel } from './types/api/APIBetChannel.js';
4
5
  import { APIBuff } from './types/api/APIBuff.js';
@@ -171,6 +172,7 @@ interface APIGuild {
171
172
  bet_count: number;
172
173
  timers: APITimer[];
173
174
  buffs: APIBuff[];
175
+ automatic_roles: APIAutomaticRole[];
174
176
  }
175
177
  interface GuildLogsWebhookUrls {
176
178
  queues: {
@@ -305,276 +307,6 @@ interface APIGuildBetUser {
305
307
  updatedAt: Date;
306
308
  }
307
309
 
308
- type MatchSelection = {
309
- type: "creator" | "mvps" | "winners" | "rematch";
310
- selected: string[];
311
- confirmed: string[];
312
- };
313
- interface APIGuildMatch {
314
- selections: MatchSelection[];
315
- /** Match's type */
316
- type: BaseMatchModes;
317
- guild_id: string;
318
- /** Match's status */
319
- status: BaseMatchStatus;
320
- /** Match's challenge */
321
- challenge: boolean;
322
- admin_id: string;
323
- /** Match's players */
324
- players: APIPlayer[];
325
- code: string;
326
- /** Match's winners */
327
- winners: APIPlayer[];
328
- betting: number;
329
- /** Match's losers */
330
- losers: APIPlayer[];
331
- /** Match;s messages */
332
- messages: APIMessage[];
333
- /** Matches channels */
334
- channels: APIBaseChannel[];
335
- /** Match's maximum size */
336
- maximumSize: number;
337
- /** Match's kicked out */
338
- kickedOut: APIPlayer[];
339
- /** Match's confirmed */
340
- confirmed: Confirm[];
341
- /** Match's leaders */
342
- leaders: APIPlayer[];
343
- teams: APIPlayer[][];
344
- creatorId: string;
345
- /** Match's room creator id */
346
- roomCreatorId: string;
347
- bet: APIGuildBet | GuildBet;
348
- /** Creation Date */
349
- createdAt: Date;
350
- /** Updated Date */
351
- updatedAt: Date;
352
- /** Match's id */
353
- _id: string;
354
- mvps: string[];
355
- url: string;
356
- logs: {
357
- shutted: string;
358
- closed: string;
359
- managed: string;
360
- };
361
- }
362
- declare enum GuildMatchChannelsType {
363
- CreationChannel = "creation_channel",
364
- TextChannel = "text_channel"
365
- }
366
- declare enum GuildMatchMessagesType {
367
- CreationMessage = "creation_message"
368
- }
369
-
370
- interface Profile {
371
- bannerUrl?: string;
372
- avatarUrl?: string;
373
- bio?: string;
374
- name?: string;
375
- extra?: string;
376
- textColor?: string;
377
- primaryColor?: string;
378
- secondaryColor?: string;
379
- tertiaryColor?: string;
380
- booster?: {
381
- status?: "on" | "off";
382
- expires?: number;
383
- };
384
- }
385
- interface APIGuildUser {
386
- /** User's id */
387
- id: string;
388
- guild_id: string;
389
- /** User's daily */
390
- daily: Omit<Daily, "credit">;
391
- profile: Profile;
392
- /** User's points */
393
- points: number;
394
- creations: number;
395
- /** User's wins */
396
- wins: number;
397
- consecutive_wins: number;
398
- adverts: APIAdvert[];
399
- /** User's mvps */
400
- mvps: number;
401
- coins: number;
402
- /** User's losses */
403
- losses: number;
404
- /** User's games */
405
- games: number;
406
- /** If user is blacklisted */
407
- blacklist: boolean;
408
- /** User's accessories such as double point */
409
- accessories: Accessory[];
410
- /** User's original channels */
411
- original_channels: OriginalChannels;
412
- spins: number;
413
- used_codes: string[];
414
- /** Creation Date */
415
- createdAt: Date;
416
- /** Updated Date */
417
- updatedAt: Date;
418
- }
419
-
420
- interface APITicketPanel {
421
- message: {
422
- embeds: APIEmbed[];
423
- };
424
- name: string;
425
- guild_id: string;
426
- _id: string;
427
- components_type: "button" | "stringselect";
428
- categories: APITicketCategory[];
429
- /** Creation Date */
430
- createdAt: Date;
431
- /** Updated Date */
432
- updatedAt: Date;
433
- }
434
-
435
- interface APITicketCategory {
436
- /** Category's type */
437
- type: string;
438
- /** Category's emoji */
439
- emoji: string;
440
- /** Category's description */
441
- description: string;
442
- /** Category's alias */
443
- alias: string;
444
- name: string;
445
- role_ids: string[];
446
- _id: string;
447
- }
448
- interface LogMessage {
449
- /** The message's content */
450
- content: string | Buffer<any>;
451
- /** The message's sender */
452
- userId: string;
453
- /** The message's type */
454
- type: string;
455
- /** Creation Date */
456
- createdAt: Date;
457
- /** Updated Date */
458
- updatedAt: Date;
459
- }
460
- /** Base match modes */
461
- type BaseMatchModes = "1v1" | "2v2" | "3v3" | "4v4" | "5v5" | "6v6";
462
- /** Base match status */
463
- type BaseMatchStatus = "on" | "created" | "off" | "shutted";
464
- /** The logs of the structure */
465
- interface Logs {
466
- /** The messages of the structure */
467
- messages: LogMessage[];
468
- }
469
- /** Original Channel */
470
- type OriginalChannel = {
471
- /** Channel id */
472
- channelId: string;
473
- /** Match id */
474
- matchId: string;
475
- };
476
- /** Original Channels */
477
- type OriginalChannels = OriginalChannel[];
478
- /** Accessories */
479
- type Accessory = {
480
- type: UserAccessoryType;
481
- units: number;
482
- time: number;
483
- active: {
484
- units: number;
485
- time: number;
486
- };
487
- };
488
- declare enum UserAccessoryType {
489
- PointsProtection = "points_protection",
490
- LossesProtection = "losses_protection",
491
- DoublePoints = "double_points"
492
- }
493
- /** Daily information */
494
- type Daily = {
495
- /** Wins */
496
- wins: number;
497
- /** Coins */
498
- coins: number;
499
- /** Points */
500
- points: number;
501
- /** Credit */
502
- credit: number;
503
- /** Losses */
504
- losses: number;
505
- /** Mvps */
506
- mvps: number;
507
- bets: number;
508
- /** Date of the daily */
509
- date: Date;
510
- };
511
- interface Banner {
512
- /** Equipped banner */
513
- equipped: number;
514
- /** Bought banners */
515
- allowed: number[];
516
- }
517
- interface ProfileCard {
518
- /** Profile's description */
519
- description: string;
520
- /** Profile's banner */
521
- banner: Banner;
522
- }
523
- interface Confirm {
524
- /** Confirm's type */
525
- type: string;
526
- /** Confirm's id */
527
- ids: string[];
528
- /** Confirm's counts */
529
- count: number;
530
- }
531
- type Optional<T> = {
532
- [K in keyof T]?: T[K];
533
- };
534
- declare enum MATCHTYPES {
535
- OneVOne = "1v1",
536
- TwoVTwo = "2v2",
537
- ThreeVThree = "3v3",
538
- FourVFour = "4v4",
539
- FiveVFive = "5v5",
540
- SixVSix = "6v6"
541
- }
542
- declare enum MATCHSTATUS {
543
- ON = "on",
544
- OFF = "off",
545
- CREATED = "created",
546
- SHUTTED = "shutted"
547
- }
548
- declare enum BETSTATUS {
549
- ON = "on",
550
- OFF = "off",
551
- CREATED = "created",
552
- SHUTTED = "shutted",
553
- WAITING = "waiting"
554
- }
555
- declare enum STATES {
556
- ON = "on",
557
- OFF = "off",
558
- CREATED = "created",
559
- SHUTTED = "shutted",
560
- WAITING = "waiting"
561
- }
562
- interface StatusResponse {
563
- status: "ok" | "error";
564
- services: {
565
- fastify: boolean;
566
- mongo: {
567
- ok: boolean;
568
- latency: number;
569
- };
570
- redis: {
571
- ok: boolean;
572
- latency: number;
573
- };
574
- };
575
- timestamp: string;
576
- }
577
-
578
310
  type FetchOptions$9 = {
579
311
  userId?: string;
580
312
  cache?: boolean;
@@ -812,6 +544,56 @@ declare class GuildMatch {
812
544
  toJSON(): Optional<APIGuildMatch>;
813
545
  }
814
546
 
547
+ interface Profile {
548
+ bannerUrl?: string;
549
+ avatarUrl?: string;
550
+ bio?: string;
551
+ name?: string;
552
+ extra?: string;
553
+ textColor?: string;
554
+ primaryColor?: string;
555
+ secondaryColor?: string;
556
+ tertiaryColor?: string;
557
+ booster?: {
558
+ status?: "on" | "off";
559
+ expires?: number;
560
+ };
561
+ }
562
+ interface APIGuildUser {
563
+ /** User's id */
564
+ id: string;
565
+ guild_id: string;
566
+ /** User's daily */
567
+ daily: Omit<Daily, "credit">;
568
+ profile: Profile;
569
+ /** User's points */
570
+ points: number;
571
+ creations: number;
572
+ /** User's wins */
573
+ wins: number;
574
+ consecutive_wins: number;
575
+ adverts: APIAdvert[];
576
+ /** User's mvps */
577
+ mvps: number;
578
+ coins: number;
579
+ /** User's losses */
580
+ losses: number;
581
+ /** User's games */
582
+ games: number;
583
+ /** If user is blacklisted */
584
+ blacklist: boolean;
585
+ /** User's accessories such as double point */
586
+ accessories: Accessory[];
587
+ /** User's original channels */
588
+ original_channels: OriginalChannels;
589
+ spins: number;
590
+ used_codes: string[];
591
+ /** Creation Date */
592
+ createdAt: Date;
593
+ /** Updated Date */
594
+ updatedAt: Date;
595
+ }
596
+
815
597
  type FetchOptions$8 = {
816
598
  userId?: string;
817
599
  cache?: boolean;
@@ -865,6 +647,7 @@ declare class GuildUser implements APIGuildUser {
865
647
  readonly manager: GuildUserManager;
866
648
  /** The rest client */
867
649
  readonly rest: REST;
650
+ readonly guild: Guild;
868
651
  /**
869
652
  * Bet user
870
653
  * @param data The user's data
@@ -959,7 +742,7 @@ interface RestEvents {
959
742
  guildDelete: [Guild];
960
743
  guildsDelete: [Collection<string, Guild>];
961
744
  userDelete: [GuildUser];
962
- userUpdate: [GuildUser];
745
+ userUpdate: [GuildUser, Guild];
963
746
  usersDelete: [Collection<string, GuildUser>];
964
747
  betuserDelete: [GuildBetUser];
965
748
  betuserUpdate: [GuildBetUser];
@@ -1392,6 +1175,226 @@ declare class Product implements APIProduct {
1392
1175
  toJSON(): APIProduct;
1393
1176
  }
1394
1177
 
1178
+ type MatchSelection = {
1179
+ type: "creator" | "mvps" | "winners" | "rematch";
1180
+ selected: string[];
1181
+ confirmed: string[];
1182
+ };
1183
+ interface APIGuildMatch {
1184
+ selections: MatchSelection[];
1185
+ /** Match's type */
1186
+ type: BaseMatchModes;
1187
+ guild_id: string;
1188
+ /** Match's status */
1189
+ status: BaseMatchStatus;
1190
+ /** Match's challenge */
1191
+ challenge: boolean;
1192
+ admin_id: string;
1193
+ /** Match's players */
1194
+ players: APIPlayer[];
1195
+ code: string;
1196
+ /** Match's winners */
1197
+ winners: APIPlayer[];
1198
+ betting: number;
1199
+ /** Match's losers */
1200
+ losers: APIPlayer[];
1201
+ /** Match;s messages */
1202
+ messages: APIMessage[];
1203
+ /** Matches channels */
1204
+ channels: APIBaseChannel[];
1205
+ /** Match's maximum size */
1206
+ maximumSize: number;
1207
+ /** Match's kicked out */
1208
+ kickedOut: APIPlayer[];
1209
+ /** Match's confirmed */
1210
+ confirmed: Confirm[];
1211
+ /** Match's leaders */
1212
+ leaders: APIPlayer[];
1213
+ teams: APIPlayer[][];
1214
+ creatorId: string;
1215
+ /** Match's room creator id */
1216
+ roomCreatorId: string;
1217
+ bet: APIGuildBet | GuildBet;
1218
+ /** Creation Date */
1219
+ createdAt: Date;
1220
+ /** Updated Date */
1221
+ updatedAt: Date;
1222
+ /** Match's id */
1223
+ _id: string;
1224
+ mvps: string[];
1225
+ url: string;
1226
+ logs: {
1227
+ shutted: string;
1228
+ closed: string;
1229
+ managed: string;
1230
+ };
1231
+ }
1232
+ declare enum GuildMatchChannelsType {
1233
+ CreationChannel = "creation_channel",
1234
+ TextChannel = "text_channel"
1235
+ }
1236
+ declare enum GuildMatchMessagesType {
1237
+ CreationMessage = "creation_message"
1238
+ }
1239
+
1240
+ interface APITicketPanel {
1241
+ message: {
1242
+ embeds: APIEmbed[];
1243
+ };
1244
+ name: string;
1245
+ guild_id: string;
1246
+ _id: string;
1247
+ components_type: "button" | "stringselect";
1248
+ categories: APITicketCategory[];
1249
+ /** Creation Date */
1250
+ createdAt: Date;
1251
+ /** Updated Date */
1252
+ updatedAt: Date;
1253
+ }
1254
+
1255
+ interface APITicketCategory {
1256
+ /** Category's type */
1257
+ type: string;
1258
+ /** Category's emoji */
1259
+ emoji: string;
1260
+ /** Category's description */
1261
+ description: string;
1262
+ /** Category's alias */
1263
+ alias: string;
1264
+ name: string;
1265
+ role_ids: string[];
1266
+ _id: string;
1267
+ }
1268
+ interface LogMessage {
1269
+ /** The message's content */
1270
+ content: string | Buffer<any>;
1271
+ /** The message's sender */
1272
+ userId: string;
1273
+ /** The message's type */
1274
+ type: string;
1275
+ /** Creation Date */
1276
+ createdAt: Date;
1277
+ /** Updated Date */
1278
+ updatedAt: Date;
1279
+ }
1280
+ /** Base match modes */
1281
+ type BaseMatchModes = "1v1" | "2v2" | "3v3" | "4v4" | "5v5" | "6v6";
1282
+ /** Base match status */
1283
+ type BaseMatchStatus = "on" | "created" | "off" | "shutted";
1284
+ /** The logs of the structure */
1285
+ interface Logs {
1286
+ /** The messages of the structure */
1287
+ messages: LogMessage[];
1288
+ }
1289
+ /** Original Channel */
1290
+ type OriginalChannel = {
1291
+ /** Channel id */
1292
+ channelId: string;
1293
+ /** Match id */
1294
+ matchId: string;
1295
+ };
1296
+ /** Original Channels */
1297
+ type OriginalChannels = OriginalChannel[];
1298
+ /** Accessories */
1299
+ type Accessory = {
1300
+ type: UserAccessoryType;
1301
+ units: number;
1302
+ time: number;
1303
+ active: {
1304
+ units: number;
1305
+ time: number;
1306
+ };
1307
+ };
1308
+ declare enum UserAccessoryType {
1309
+ PointsProtection = "points_protection",
1310
+ LossesProtection = "losses_protection",
1311
+ DoublePoints = "double_points"
1312
+ }
1313
+ /** Daily information */
1314
+ type Daily = {
1315
+ /** Wins */
1316
+ wins: number;
1317
+ /** Coins */
1318
+ coins: number;
1319
+ /** Points */
1320
+ points: number;
1321
+ /** Credit */
1322
+ credit: number;
1323
+ /** Losses */
1324
+ losses: number;
1325
+ /** Mvps */
1326
+ mvps: number;
1327
+ bets: number;
1328
+ /** Date of the daily */
1329
+ date: Date;
1330
+ };
1331
+ interface Banner {
1332
+ /** Equipped banner */
1333
+ equipped: number;
1334
+ /** Bought banners */
1335
+ allowed: number[];
1336
+ }
1337
+ interface ProfileCard {
1338
+ /** Profile's description */
1339
+ description: string;
1340
+ /** Profile's banner */
1341
+ banner: Banner;
1342
+ }
1343
+ interface Confirm {
1344
+ /** Confirm's type */
1345
+ type: string;
1346
+ /** Confirm's id */
1347
+ ids: string[];
1348
+ /** Confirm's counts */
1349
+ count: number;
1350
+ }
1351
+ type Optional<T> = {
1352
+ [K in keyof T]?: T[K];
1353
+ };
1354
+ declare enum MATCHTYPES {
1355
+ OneVOne = "1v1",
1356
+ TwoVTwo = "2v2",
1357
+ ThreeVThree = "3v3",
1358
+ FourVFour = "4v4",
1359
+ FiveVFive = "5v5",
1360
+ SixVSix = "6v6"
1361
+ }
1362
+ declare enum MATCHSTATUS {
1363
+ ON = "on",
1364
+ OFF = "off",
1365
+ CREATED = "created",
1366
+ SHUTTED = "shutted"
1367
+ }
1368
+ declare enum BETSTATUS {
1369
+ ON = "on",
1370
+ OFF = "off",
1371
+ CREATED = "created",
1372
+ SHUTTED = "shutted",
1373
+ WAITING = "waiting"
1374
+ }
1375
+ declare enum STATES {
1376
+ ON = "on",
1377
+ OFF = "off",
1378
+ CREATED = "created",
1379
+ SHUTTED = "shutted",
1380
+ WAITING = "waiting"
1381
+ }
1382
+ interface StatusResponse {
1383
+ status: "ok" | "error";
1384
+ services: {
1385
+ fastify: boolean;
1386
+ mongo: {
1387
+ ok: boolean;
1388
+ latency: number;
1389
+ };
1390
+ redis: {
1391
+ ok: boolean;
1392
+ latency: number;
1393
+ };
1394
+ };
1395
+ timestamp: string;
1396
+ }
1397
+
1395
1398
  declare class Guild {
1396
1399
  #private;
1397
1400
  /** The data of this guild */
@@ -1450,6 +1453,7 @@ declare class Guild {
1450
1453
  codes: Collection<string, APICode>;
1451
1454
  coin_symbol: string;
1452
1455
  buffs: Collection<string, APIBuff>;
1456
+ automatic_roles: Collection<string, APIAutomaticRole>;
1453
1457
  /**
1454
1458
  * The guild structure
1455
1459
  * @param data The guild's data
@@ -1496,6 +1500,15 @@ declare class Guild {
1496
1500
  admin_id?: string;
1497
1501
  }>;
1498
1502
  deleteBuff(id: string): Promise<this>;
1503
+ createAutomaticRole(data: Optional<APIAutomaticRole>): Promise<{
1504
+ _id: string;
1505
+ createdAt: Date;
1506
+ updatedAt: Date;
1507
+ type?: AutomaticRolesTypes;
1508
+ role_id?: string;
1509
+ rule?: number;
1510
+ }>;
1511
+ deleteDeleteAutomaticRole(id: string): Promise<this>;
1499
1512
  toJSON(): APIGuild;
1500
1513
  }
1501
1514
  type AvailableScores = "win" | "loss" | "mvp" | "creator" | "coin";
package/dist/index.d.ts CHANGED
@@ -1,8 +1,9 @@
1
- export { A as APIAutomaticMessage, a as APIGuild, b as APIGuildBet, c as APIGuildBetUser, d as APIGuildGroupedChannel, e as APIGuildMatch, f as APIGuildUser, g as APITicketCategory, h as APITicketPanel, i as Accessory, j as AutomaticMessage, k as AutomaticMessageManager, l as AutomaticMessagePayload, m as AutomaticMessagesTypes, B as BETSTATUS, n as Banner, o as BaseManager, p as BaseMatchModes, q as BaseMatchStatus, r as BetChannelTypes, s as BetQueue, t as BufferManager, u as BufferMatch, v as BufferTicket, C as Confirm, D as Daily, w as DailyCategories, F as FetchOptions, x as FetchReturn, G as Guild, y as GuildBet, z as GuildBetManager, E as GuildBetUser, H as GuildBetUserManager, I as GuildChannelsType, J as GuildLogsWebhookUrls, K as GuildManager, L as GuildMatch, M as GuildMatchChannelsType, N as GuildMatchManager, O as GuildMatchMessagesType, P as GuildMediator, Q as GuildMediatorManager, S as GuildModes, T as GuildPermissionManager, U as GuildPrices, V as GuildScores, W as GuildStatus, X as GuildStatusEnum, Y as GuildTicket, Z as GuildTicketConfiguration, _ as GuildTicketManager, $ as GuildTimerTypes, a0 as GuildUser, a1 as GuildUserManager, a2 as LogEntry, a3 as LogManager, a4 as LogMessage, a5 as Logs, a6 as MATCHSTATUS, a7 as MATCHTYPES, a8 as MatchSelection, a9 as MessagesManager, aa as MinesGame, ab as MinesGameManager, ac as Optional, ad as OriginalChannel, ae as OriginalChannels, af as PlayerManager, ag as PlayerOption, ah as Product, ai as Profile, aj as ProfileCard, R as REST, ak as RequestOptions, al as RestEvents, am as RoulettePrize, an as RouletteSettings, ao as STATES, ap as Shop, aq as ShopManager, ar as StatusResponse, as as Structure, at as TicketPanel, au as TicketPanelManager, av as Tournament, aw as TournamentManager, ax as UserAccessoryType, ay as VipMember, az as VipMemberManager } from './index-BwmNIP2p.js';
1
+ export { A as APIAutomaticMessage, a as APIGuild, b as APIGuildBet, c as APIGuildBetUser, d as APIGuildGroupedChannel, e as APIGuildMatch, f as APIGuildUser, g as APITicketCategory, h as APITicketPanel, i as Accessory, j as AutomaticMessage, k as AutomaticMessageManager, l as AutomaticMessagePayload, m as AutomaticMessagesTypes, B as BETSTATUS, n as Banner, o as BaseManager, p as BaseMatchModes, q as BaseMatchStatus, r as BetChannelTypes, s as BetQueue, t as BufferManager, u as BufferMatch, v as BufferTicket, C as Confirm, D as Daily, w as DailyCategories, F as FetchOptions, x as FetchReturn, G as Guild, y as GuildBet, z as GuildBetManager, E as GuildBetUser, H as GuildBetUserManager, I as GuildChannelsType, J as GuildLogsWebhookUrls, K as GuildManager, L as GuildMatch, M as GuildMatchChannelsType, N as GuildMatchManager, O as GuildMatchMessagesType, P as GuildMediator, Q as GuildMediatorManager, S as GuildModes, T as GuildPermissionManager, U as GuildPrices, V as GuildScores, W as GuildStatus, X as GuildStatusEnum, Y as GuildTicket, Z as GuildTicketConfiguration, _ as GuildTicketManager, $ as GuildTimerTypes, a0 as GuildUser, a1 as GuildUserManager, a2 as LogEntry, a3 as LogManager, a4 as LogMessage, a5 as Logs, a6 as MATCHSTATUS, a7 as MATCHTYPES, a8 as MatchSelection, a9 as MessagesManager, aa as MinesGame, ab as MinesGameManager, ac as Optional, ad as OriginalChannel, ae as OriginalChannels, af as PlayerManager, ag as PlayerOption, ah as Product, ai as Profile, aj as ProfileCard, R as REST, ak as RequestOptions, al as RestEvents, am as RoulettePrize, an as RouletteSettings, ao as STATES, ap as Shop, aq as ShopManager, ar as StatusResponse, as as Structure, at as TicketPanel, au as TicketPanelManager, av as Tournament, aw as TournamentManager, ax as UserAccessoryType, ay as VipMember, az as VipMemberManager } from './index-Ba4fOyKx.js';
2
2
  export { Collection } from './structures/Collection.js';
3
3
  export { APIEndpoint, APIEndpoints } from './rest/APIEndpoints.js';
4
4
  export { Routes } from './rest/Routes.js';
5
5
  export { APIAdvert } from './types/api/APIAdvert.js';
6
+ export { APIAutomaticRole, AutomaticRolesTypes } from './types/api/APIAutomaticRole.js';
6
7
  export { APIBaseChannel } from './types/api/APIBaseChannel.js';
7
8
  export { APIBetChannel } from './types/api/APIBetChannel.js';
8
9
  export { APIBuff } from './types/api/APIBuff.js';
@@ -1,6 +1,7 @@
1
- export { k as AutomaticMessageManager } from '../../index-BwmNIP2p.js';
1
+ export { k as AutomaticMessageManager } from '../../index-Ba4fOyKx.js';
2
2
  import '../../structures/Collection.js';
3
3
  import '../../types/api/APIAdvert.js';
4
+ import '../../types/api/APIAutomaticRole.js';
4
5
  import '../../types/api/APIBaseChannel.js';
5
6
  import '../../types/api/APIBetChannel.js';
6
7
  import '../../types/api/APIBuff.js';
@@ -1,6 +1,7 @@
1
- export { o as BaseManager } from '../index-BwmNIP2p.js';
1
+ export { o as BaseManager } from '../index-Ba4fOyKx.js';
2
2
  import '../structures/Collection.js';
3
3
  import '../types/api/APIAdvert.js';
4
+ import '../types/api/APIAutomaticRole.js';
4
5
  import '../types/api/APIBaseChannel.js';
5
6
  import '../types/api/APIBetChannel.js';
6
7
  import '../types/api/APIBuff.js';
@@ -1,6 +1,7 @@
1
- export { F as FetchOptions, z as GuildBetManager } from '../../index-BwmNIP2p.js';
1
+ export { F as FetchOptions, z as GuildBetManager } from '../../index-Ba4fOyKx.js';
2
2
  import '../../structures/Collection.js';
3
3
  import '../../types/api/APIAdvert.js';
4
+ import '../../types/api/APIAutomaticRole.js';
4
5
  import '../../types/api/APIBaseChannel.js';
5
6
  import '../../types/api/APIBetChannel.js';
6
7
  import '../../types/api/APIBuff.js';
@@ -1,6 +1,7 @@
1
- export { H as GuildBetUserManager } from '../../index-BwmNIP2p.js';
1
+ export { H as GuildBetUserManager } from '../../index-Ba4fOyKx.js';
2
2
  import '../../structures/Collection.js';
3
3
  import '../../types/api/APIAdvert.js';
4
+ import '../../types/api/APIAutomaticRole.js';
4
5
  import '../../types/api/APIBaseChannel.js';
5
6
  import '../../types/api/APIBetChannel.js';
6
7
  import '../../types/api/APIBuff.js';
@@ -1,7 +1,8 @@
1
1
  import '../../structures/Collection.js';
2
- export { t as BufferManager, u as BufferMatch, v as BufferTicket } from '../../index-BwmNIP2p.js';
2
+ export { t as BufferManager, u as BufferMatch, v as BufferTicket } from '../../index-Ba4fOyKx.js';
3
3
  import '../../types/api/APIGuildTicket.js';
4
4
  import '../../types/api/APIAdvert.js';
5
+ import '../../types/api/APIAutomaticRole.js';
5
6
  import '../../types/api/APIBaseChannel.js';
6
7
  import '../../types/api/APIBetChannel.js';
7
8
  import '../../types/api/APIBuff.js';
@@ -1,6 +1,7 @@
1
- export { K as GuildManager } from '../../index-BwmNIP2p.js';
1
+ export { K as GuildManager } from '../../index-Ba4fOyKx.js';
2
2
  import '../../structures/Collection.js';
3
3
  import '../../types/api/APIAdvert.js';
4
+ import '../../types/api/APIAutomaticRole.js';
4
5
  import '../../types/api/APIBaseChannel.js';
5
6
  import '../../types/api/APIBetChannel.js';
6
7
  import '../../types/api/APIBuff.js';
@@ -1,5 +1,6 @@
1
- export { k as AutomaticMessageManager, o as BaseManager, t as BufferManager, u as BufferMatch, v as BufferTicket, F as FetchOptions, x as FetchReturn, z as GuildBetManager, H as GuildBetUserManager, K as GuildManager, N as GuildMatchManager, Q as GuildMediatorManager, T as GuildPermissionManager, _ as GuildTicketManager, a1 as GuildUserManager, a3 as LogManager, a9 as MessagesManager, ab as MinesGameManager, af as PlayerManager, ag as PlayerOption, aq as ShopManager, as as Structure, au as TicketPanelManager, aw as TournamentManager, az as VipMemberManager } from '../index-BwmNIP2p.js';
1
+ export { k as AutomaticMessageManager, o as BaseManager, t as BufferManager, u as BufferMatch, v as BufferTicket, F as FetchOptions, x as FetchReturn, z as GuildBetManager, H as GuildBetUserManager, K as GuildManager, N as GuildMatchManager, Q as GuildMediatorManager, T as GuildPermissionManager, _ as GuildTicketManager, a1 as GuildUserManager, a3 as LogManager, a9 as MessagesManager, ab as MinesGameManager, af as PlayerManager, ag as PlayerOption, aq as ShopManager, as as Structure, au as TicketPanelManager, aw as TournamentManager, az as VipMemberManager } from '../index-Ba4fOyKx.js';
2
2
  import '../types/api/APIAdvert.js';
3
+ import '../types/api/APIAutomaticRole.js';
3
4
  import '../types/api/APIBaseChannel.js';
4
5
  import '../types/api/APIBetChannel.js';
5
6
  import '../types/api/APIBuff.js';