@duque.edits/sdk 1.6.0 → 1.6.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 (59) hide show
  1. package/dist/{index-BlU-ryiZ.d.ts → index-BwmNIP2p.d.ts} +13 -16
  2. package/dist/index.d.ts +1 -1
  3. package/dist/managers/automaticmessage/AutomaticMessageManager.d.ts +1 -1
  4. package/dist/managers/base.d.ts +1 -1
  5. package/dist/managers/bet/GuildBetManager.d.ts +1 -1
  6. package/dist/managers/betuser/GuildBetUserManager.d.ts +1 -1
  7. package/dist/managers/buffer/BufferManager.d.ts +1 -1
  8. package/dist/managers/guild/GuildManager.d.ts +1 -1
  9. package/dist/managers/index.d.ts +1 -1
  10. package/dist/managers/logs/LogManager.d.ts +1 -1
  11. package/dist/managers/match/GuildMatchManager.d.ts +1 -1
  12. package/dist/managers/mediator/GuildMediatorManager.d.ts +1 -1
  13. package/dist/managers/message/MessagesManager.d.ts +1 -1
  14. package/dist/managers/minesgame/MinesGameManager.d.ts +1 -1
  15. package/dist/managers/permission/GuildPermissionManager.d.ts +1 -1
  16. package/dist/managers/player/PlayerManager.d.ts +1 -1
  17. package/dist/managers/product/ProductManager.d.ts +1 -1
  18. package/dist/managers/shop/ShopManager.d.ts +1 -1
  19. package/dist/managers/ticket/TicketManager.d.ts +1 -1
  20. package/dist/managers/ticketpanel/TicketPanelManager.d.ts +1 -1
  21. package/dist/managers/tournament/TournamentManager.d.ts +1 -1
  22. package/dist/managers/user/GuildUserManager.d.ts +1 -1
  23. package/dist/managers/vipmember/VipMemberManager.d.ts +1 -1
  24. package/dist/rest/REST.d.ts +1 -1
  25. package/dist/rest/index.d.ts +1 -1
  26. package/dist/structures/automaticmessage/AutomaticMessage.d.ts +1 -1
  27. package/dist/structures/bet/GuildBet.d.ts +1 -1
  28. package/dist/structures/betuser/GuildBetUser.d.ts +1 -1
  29. package/dist/structures/guild/Guild.d.ts +1 -1
  30. package/dist/structures/guild/Guild.js +2 -3
  31. package/dist/structures/index.d.ts +1 -1
  32. package/dist/structures/logentry/LogEntry.d.ts +1 -1
  33. package/dist/structures/match/GuildMatch.d.ts +1 -1
  34. package/dist/structures/mediator/GuildMediator.d.ts +1 -1
  35. package/dist/structures/minesgame/MinesGame.d.ts +1 -1
  36. package/dist/structures/product/Product.d.ts +1 -1
  37. package/dist/structures/shop/Shop.d.ts +1 -1
  38. package/dist/structures/ticket/Ticket.d.ts +1 -1
  39. package/dist/structures/ticketpanel/TicketPanel.d.ts +1 -1
  40. package/dist/structures/tournament/Tournament.d.ts +1 -1
  41. package/dist/structures/user/GuildUser.d.ts +1 -1
  42. package/dist/structures/vipmember/VipMember.d.ts +1 -1
  43. package/dist/types/RestTypes.d.ts +1 -1
  44. package/dist/types/api/APIAutomaticMessage.d.ts +1 -1
  45. package/dist/types/api/APIGuild.d.ts +1 -1
  46. package/dist/types/api/APIGuild.js +1 -0
  47. package/dist/types/api/APIGuildBet.d.ts +1 -1
  48. package/dist/types/api/APIGuildBetUser.d.ts +1 -1
  49. package/dist/types/api/APIGuildGroupedChannel.d.ts +1 -1
  50. package/dist/types/api/APIGuildMatch.d.ts +1 -1
  51. package/dist/types/api/APIGuildPermissions.d.ts +4 -2
  52. package/dist/types/api/APIGuildPermissions.js +3 -1
  53. package/dist/types/api/APIGuildUser.d.ts +1 -1
  54. package/dist/types/api/APILogEntry.d.ts +1 -0
  55. package/dist/types/api/APILogEntry.js +1 -0
  56. package/dist/types/api/APITicketPanel.d.ts +1 -1
  57. package/dist/types/api/index.d.ts +1 -1
  58. package/dist/types/index.d.ts +1 -1
  59. package/package.json +2 -1
@@ -99,6 +99,7 @@ interface RouletteSettings {
99
99
  tertiary_color: string;
100
100
  text_color: string;
101
101
  prizes: RoulettePrize[];
102
+ custom_banner: string;
102
103
  }
103
104
  declare enum AutomaticMessagesTypes {
104
105
  MatchStarted = "match_started",
@@ -129,7 +130,8 @@ declare enum GuildChannelsType {
129
130
  BettingChannel = "betting",
130
131
  BotWarningsChannel = "bot_warnings_channel",
131
132
  UserWarningsChannel = "user_warnings_channel",
132
- TicketRatingChannel = "ticket_rating_channel"
133
+ TicketRatingChannel = "ticket_rating_channel",
134
+ RouletteChannel = "roulette_channel"
133
135
  }
134
136
  interface APIGuild {
135
137
  /** Guild's id */
@@ -205,6 +207,13 @@ declare enum GuildTimerTypes {
205
207
  Giveaway = "giveaway"
206
208
  }
207
209
 
210
+ interface AutomaticMessagePayload {
211
+ content?: string;
212
+ embeds?: Partial<APIEmbed>[];
213
+ components?: any[];
214
+ attachments?: any[];
215
+ flags?: number;
216
+ }
208
217
  interface APIAutomaticMessage {
209
218
  id: string;
210
219
  _id: string;
@@ -213,13 +222,7 @@ interface APIAutomaticMessage {
213
222
  channel_ids: string[];
214
223
  type: AutomaticMessagesTypes;
215
224
  guild_id: string;
216
- message: {
217
- content: string;
218
- embeds: APIEmbed[];
219
- components: any[];
220
- attachments: any[];
221
- flags: number;
222
- };
225
+ message: AutomaticMessagePayload;
223
226
  interval_ms: number;
224
227
  createdAt: Date;
225
228
  updatedAt: Date;
@@ -971,13 +974,7 @@ declare class AutomaticMessage {
971
974
  name: string;
972
975
  admin_id: string;
973
976
  channel_ids: string[];
974
- message: {
975
- content: string;
976
- embeds: APIEmbed[];
977
- components: any[];
978
- attachments: any[];
979
- flags: number;
980
- };
977
+ message: AutomaticMessagePayload;
981
978
  guild_id: string;
982
979
  interval_ms: number;
983
980
  createdAt: Date;
@@ -1718,4 +1715,4 @@ declare class GuildTicketManager {
1718
1715
  set(data: APIGuildTicket | GuildTicket | APIGuildTicket[]): GuildTicket | Collection<string, GuildTicket>;
1719
1716
  }
1720
1717
 
1721
- export { GuildUser as $, type APIAutomaticMessage as A, BETSTATUS as B, type Confirm as C, type Daily as D, GuildBetUserManager as E, type FetchOptions$2 as F, Guild as G, GuildChannelsType as H, type GuildLogsWebhookUrls as I, GuildManager as J, GuildMatch as K, GuildMatchChannelsType as L, GuildMatchManager as M, GuildMatchMessagesType as N, GuildMediator as O, GuildMediatorManager as P, type GuildModes as Q, REST as R, GuildPermissionManager as S, type GuildPrices as T, type GuildScores as U, type GuildStatus as V, GuildStatusEnum as W, GuildTicket as X, type GuildTicketConfiguration as Y, GuildTicketManager as Z, GuildTimerTypes as _, type APIGuild as a, GuildUserManager as a0, LogEntry as a1, LogManager as a2, type LogMessage as a3, type Logs as a4, MATCHSTATUS as a5, MATCHTYPES as a6, type MatchSelection as a7, MessagesManager as a8, MinesGame as a9, MinesGameManager as aa, type Optional as ab, type OriginalChannel as ac, type OriginalChannels as ad, PlayerManager as ae, type PlayerOption as af, Product as ag, type Profile as ah, type ProfileCard as ai, type RequestOptions as aj, type RestEvents as ak, type RoulettePrize as al, type RouletteSettings as am, STATES as an, Shop as ao, ShopManager as ap, type StatusResponse as aq, type Structure as ar, TicketPanel as as, TicketPanelManager as at, Tournament as au, TournamentManager as av, UserAccessoryType as aw, VipMember as ax, VipMemberManager as ay, ProductManager as az, type APIGuildBet as b, type APIGuildBetUser as c, type APIGuildGroupedChannel as d, type APIGuildMatch as e, type APIGuildUser as f, type APITicketCategory as g, type APITicketPanel as h, type Accessory as i, AutomaticMessage as j, AutomaticMessageManager as k, AutomaticMessagesTypes as l, type Banner as m, BaseManager as n, type BaseMatchModes as o, type BaseMatchStatus as p, BetChannelTypes as q, type BetQueue as r, BufferManager as s, type BufferMatch as t, type BufferTicket as u, type DailyCategories as v, type FetchReturn as w, GuildBet as x, GuildBetManager as y, GuildBetUser as z };
1718
+ export { GuildTimerTypes as $, type APIAutomaticMessage as A, BETSTATUS as B, type Confirm as C, type Daily as D, GuildBetUser as E, type FetchOptions$2 as F, Guild as G, GuildBetUserManager as H, GuildChannelsType as I, type GuildLogsWebhookUrls as J, GuildManager as K, GuildMatch as L, GuildMatchChannelsType as M, GuildMatchManager as N, GuildMatchMessagesType as O, GuildMediator as P, GuildMediatorManager as Q, REST as R, type GuildModes as S, GuildPermissionManager as T, type GuildPrices as U, type GuildScores as V, type GuildStatus as W, GuildStatusEnum as X, GuildTicket as Y, type GuildTicketConfiguration as Z, GuildTicketManager as _, type APIGuild as a, GuildUser as a0, GuildUserManager as a1, LogEntry as a2, LogManager as a3, type LogMessage as a4, type Logs as a5, MATCHSTATUS as a6, MATCHTYPES as a7, type MatchSelection as a8, MessagesManager as a9, ProductManager as aA, MinesGame as aa, MinesGameManager as ab, type Optional as ac, type OriginalChannel as ad, type OriginalChannels as ae, PlayerManager as af, type PlayerOption as ag, Product as ah, type Profile as ai, type ProfileCard as aj, type RequestOptions as ak, type RestEvents as al, type RoulettePrize as am, type RouletteSettings as an, STATES as ao, Shop as ap, ShopManager as aq, type StatusResponse as ar, type Structure as as, TicketPanel as at, TicketPanelManager as au, Tournament as av, TournamentManager as aw, UserAccessoryType as ax, VipMember as ay, VipMemberManager as az, type APIGuildBet as b, type APIGuildBetUser as c, type APIGuildGroupedChannel as d, type APIGuildMatch as e, type APIGuildUser as f, type APITicketCategory as g, type APITicketPanel as h, type Accessory as i, AutomaticMessage as j, AutomaticMessageManager as k, type AutomaticMessagePayload as l, AutomaticMessagesTypes as m, type Banner as n, BaseManager as o, type BaseMatchModes as p, type BaseMatchStatus as q, BetChannelTypes as r, type BetQueue as s, BufferManager as t, type BufferMatch as u, type BufferTicket as v, type DailyCategories as w, type FetchReturn as x, GuildBet as y, GuildBetManager as z };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
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 AutomaticMessagesTypes, B as BETSTATUS, m as Banner, n as BaseManager, o as BaseMatchModes, p as BaseMatchStatus, q as BetChannelTypes, r as BetQueue, s as BufferManager, t as BufferMatch, u as BufferTicket, C as Confirm, D as Daily, v as DailyCategories, F as FetchOptions, w as FetchReturn, G as Guild, x as GuildBet, y as GuildBetManager, z as GuildBetUser, E as GuildBetUserManager, H as GuildChannelsType, I as GuildLogsWebhookUrls, J as GuildManager, K as GuildMatch, L as GuildMatchChannelsType, M as GuildMatchManager, N as GuildMatchMessagesType, O as GuildMediator, P as GuildMediatorManager, Q as GuildModes, S as GuildPermissionManager, T as GuildPrices, U as GuildScores, V as GuildStatus, W as GuildStatusEnum, X as GuildTicket, Y as GuildTicketConfiguration, Z as GuildTicketManager, _ as GuildTimerTypes, $ as GuildUser, a0 as GuildUserManager, a1 as LogEntry, a2 as LogManager, a3 as LogMessage, a4 as Logs, a5 as MATCHSTATUS, a6 as MATCHTYPES, a7 as MatchSelection, a8 as MessagesManager, a9 as MinesGame, aa as MinesGameManager, ab as Optional, ac as OriginalChannel, ad as OriginalChannels, ae as PlayerManager, af as PlayerOption, ag as Product, ah as Profile, ai as ProfileCard, R as REST, aj as RequestOptions, ak as RestEvents, al as RoulettePrize, am as RouletteSettings, an as STATES, ao as Shop, ap as ShopManager, aq as StatusResponse, ar as Structure, as as TicketPanel, at as TicketPanelManager, au as Tournament, av as TournamentManager, aw as UserAccessoryType, ax as VipMember, ay as VipMemberManager } from './index-BlU-ryiZ.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-BwmNIP2p.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';
@@ -1,4 +1,4 @@
1
- export { k as AutomaticMessageManager } from '../../index-BlU-ryiZ.js';
1
+ export { k as AutomaticMessageManager } from '../../index-BwmNIP2p.js';
2
2
  import '../../structures/Collection.js';
3
3
  import '../../types/api/APIAdvert.js';
4
4
  import '../../types/api/APIBaseChannel.js';
@@ -1,4 +1,4 @@
1
- export { n as BaseManager } from '../index-BlU-ryiZ.js';
1
+ export { o as BaseManager } from '../index-BwmNIP2p.js';
2
2
  import '../structures/Collection.js';
3
3
  import '../types/api/APIAdvert.js';
4
4
  import '../types/api/APIBaseChannel.js';
@@ -1,4 +1,4 @@
1
- export { F as FetchOptions, y as GuildBetManager } from '../../index-BlU-ryiZ.js';
1
+ export { F as FetchOptions, z as GuildBetManager } from '../../index-BwmNIP2p.js';
2
2
  import '../../structures/Collection.js';
3
3
  import '../../types/api/APIAdvert.js';
4
4
  import '../../types/api/APIBaseChannel.js';
@@ -1,4 +1,4 @@
1
- export { E as GuildBetUserManager } from '../../index-BlU-ryiZ.js';
1
+ export { H as GuildBetUserManager } from '../../index-BwmNIP2p.js';
2
2
  import '../../structures/Collection.js';
3
3
  import '../../types/api/APIAdvert.js';
4
4
  import '../../types/api/APIBaseChannel.js';
@@ -1,5 +1,5 @@
1
1
  import '../../structures/Collection.js';
2
- export { s as BufferManager, t as BufferMatch, u as BufferTicket } from '../../index-BlU-ryiZ.js';
2
+ export { t as BufferManager, u as BufferMatch, v as BufferTicket } from '../../index-BwmNIP2p.js';
3
3
  import '../../types/api/APIGuildTicket.js';
4
4
  import '../../types/api/APIAdvert.js';
5
5
  import '../../types/api/APIBaseChannel.js';
@@ -1,4 +1,4 @@
1
- export { J as GuildManager } from '../../index-BlU-ryiZ.js';
1
+ export { K as GuildManager } from '../../index-BwmNIP2p.js';
2
2
  import '../../structures/Collection.js';
3
3
  import '../../types/api/APIAdvert.js';
4
4
  import '../../types/api/APIBaseChannel.js';
@@ -1,4 +1,4 @@
1
- export { k as AutomaticMessageManager, n as BaseManager, s as BufferManager, t as BufferMatch, u as BufferTicket, F as FetchOptions, w as FetchReturn, y as GuildBetManager, E as GuildBetUserManager, J as GuildManager, M as GuildMatchManager, P as GuildMediatorManager, S as GuildPermissionManager, Z as GuildTicketManager, a0 as GuildUserManager, a2 as LogManager, a8 as MessagesManager, aa as MinesGameManager, ae as PlayerManager, af as PlayerOption, ap as ShopManager, ar as Structure, at as TicketPanelManager, av as TournamentManager, ay as VipMemberManager } from '../index-BlU-ryiZ.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-BwmNIP2p.js';
2
2
  import '../types/api/APIAdvert.js';
3
3
  import '../types/api/APIBaseChannel.js';
4
4
  import '../types/api/APIBetChannel.js';
@@ -1,4 +1,4 @@
1
- export { a2 as LogManager } from '../../index-BlU-ryiZ.js';
1
+ export { a3 as LogManager } from '../../index-BwmNIP2p.js';
2
2
  import '../../structures/Collection.js';
3
3
  import '../../types/api/APILogEntry.js';
4
4
  import '../../types/api/APIAdvert.js';
@@ -1,4 +1,4 @@
1
- export { M as GuildMatchManager } from '../../index-BlU-ryiZ.js';
1
+ export { N as GuildMatchManager } from '../../index-BwmNIP2p.js';
2
2
  import '../../structures/Collection.js';
3
3
  import '../../types/api/APIAdvert.js';
4
4
  import '../../types/api/APIBaseChannel.js';
@@ -1,4 +1,4 @@
1
- export { P as GuildMediatorManager } from '../../index-BlU-ryiZ.js';
1
+ export { Q as GuildMediatorManager } from '../../index-BwmNIP2p.js';
2
2
  import '../../structures/Collection.js';
3
3
  import '../../types/api/APIGuildMediator.js';
4
4
  import '../../types/api/APIAdvert.js';
@@ -1,4 +1,4 @@
1
- export { a8 as MessagesManager } from '../../index-BlU-ryiZ.js';
1
+ export { a9 as MessagesManager } from '../../index-BwmNIP2p.js';
2
2
  import '../../structures/Collection.js';
3
3
  import '../../types/api/APIMessage.js';
4
4
  import '../../types/api/APIAdvert.js';
@@ -1,4 +1,4 @@
1
- export { aa as MinesGameManager } from '../../index-BlU-ryiZ.js';
1
+ export { ab as MinesGameManager } from '../../index-BwmNIP2p.js';
2
2
  import '../../structures/Collection.js';
3
3
  import '../../types/api/APIMinesGame.js';
4
4
  import '../../types/api/APIAdvert.js';
@@ -1,4 +1,4 @@
1
- export { S as GuildPermissionManager } from '../../index-BlU-ryiZ.js';
1
+ export { T as GuildPermissionManager } from '../../index-BwmNIP2p.js';
2
2
  import '../../types/api/APIGuildPermissions.js';
3
3
  import '../../types/api/APIAdvert.js';
4
4
  import '../../types/api/APIBaseChannel.js';
@@ -1,5 +1,5 @@
1
1
  import '../../types/api/APIPlayer.js';
2
- export { ae as PlayerManager, af as PlayerOption, ar as Structure } from '../../index-BlU-ryiZ.js';
2
+ export { af as PlayerManager, ag as PlayerOption, as as Structure } from '../../index-BwmNIP2p.js';
3
3
  import '../../structures/Collection.js';
4
4
  import '../../types/api/APIAdvert.js';
5
5
  import '../../types/api/APIBaseChannel.js';
@@ -1,4 +1,4 @@
1
- export { az as ProductManager } from '../../index-BlU-ryiZ.js';
1
+ export { aA as ProductManager } from '../../index-BwmNIP2p.js';
2
2
  import '../../structures/Collection.js';
3
3
  import '../../types/api/APIProduct.js';
4
4
  import '../../types/api/APIAdvert.js';
@@ -1,4 +1,4 @@
1
- export { ap as ShopManager } from '../../index-BlU-ryiZ.js';
1
+ export { aq as ShopManager } from '../../index-BwmNIP2p.js';
2
2
  import '../../structures/Collection.js';
3
3
  import '../../types/api/APIGuildShop.js';
4
4
  import '../../types/api/APIAdvert.js';
@@ -1,4 +1,4 @@
1
- export { Z as GuildTicketManager } from '../../index-BlU-ryiZ.js';
1
+ export { _ as GuildTicketManager } from '../../index-BwmNIP2p.js';
2
2
  import '../../structures/Collection.js';
3
3
  import '../../types/api/APIGuildTicket.js';
4
4
  import '../../types/api/APIAdvert.js';
@@ -1,4 +1,4 @@
1
- export { w as FetchReturn, at as TicketPanelManager } from '../../index-BlU-ryiZ.js';
1
+ export { x as FetchReturn, au as TicketPanelManager } from '../../index-BwmNIP2p.js';
2
2
  import '../../structures/Collection.js';
3
3
  import '../../types/api/APIAdvert.js';
4
4
  import '../../types/api/APIBaseChannel.js';
@@ -1,4 +1,4 @@
1
- export { av as TournamentManager } from '../../index-BlU-ryiZ.js';
1
+ export { aw as TournamentManager } from '../../index-BwmNIP2p.js';
2
2
  import '../../structures/Collection.js';
3
3
  import '../../types/api/APITournament.js';
4
4
  import '../../types/api/APIAdvert.js';
@@ -1,5 +1,5 @@
1
1
  import '../../structures/Collection.js';
2
- export { a0 as GuildUserManager } from '../../index-BlU-ryiZ.js';
2
+ export { a1 as GuildUserManager } from '../../index-BwmNIP2p.js';
3
3
  import '../../types/api/APIAdvert.js';
4
4
  import '../../types/api/APIBaseChannel.js';
5
5
  import '../../types/api/APIBetChannel.js';
@@ -1,4 +1,4 @@
1
- export { ay as VipMemberManager } from '../../index-BlU-ryiZ.js';
1
+ export { az as VipMemberManager } from '../../index-BwmNIP2p.js';
2
2
  import '../../structures/Collection.js';
3
3
  import '../../types/api/APIVipMember.js';
4
4
  import '../../types/api/APIAdvert.js';
@@ -1,5 +1,5 @@
1
1
  import 'events';
2
- export { R as REST } from '../index-BlU-ryiZ.js';
2
+ export { R as REST } from '../index-BwmNIP2p.js';
3
3
  import '../structures/Collection.js';
4
4
  import '../types/api/APIAdvert.js';
5
5
  import '../types/api/APIBaseChannel.js';
@@ -1,6 +1,6 @@
1
1
  export { APIEndpoint, APIEndpoints } from './APIEndpoints.js';
2
2
  export { Routes } from './Routes.js';
3
- export { R as REST } from '../index-BlU-ryiZ.js';
3
+ export { R as REST } from '../index-BwmNIP2p.js';
4
4
  import '../structures/Collection.js';
5
5
  import '../types/api/APIAdvert.js';
6
6
  import '../types/api/APIBaseChannel.js';
@@ -1,5 +1,5 @@
1
1
  import 'discord-api-types/v10';
2
- export { j as AutomaticMessage } from '../../index-BlU-ryiZ.js';
2
+ export { j as AutomaticMessage } from '../../index-BwmNIP2p.js';
3
3
  import '../../types/api/APIAdvert.js';
4
4
  import '../../types/api/APIBaseChannel.js';
5
5
  import '../../types/api/APIBetChannel.js';
@@ -1,4 +1,4 @@
1
- export { x as GuildBet } from '../../index-BlU-ryiZ.js';
1
+ export { y as GuildBet } from '../../index-BwmNIP2p.js';
2
2
  import '../../types/api/APIPlayer.js';
3
3
  import '../../types/api/APIBetChannel.js';
4
4
  import '../../types/api/APIAdvert.js';
@@ -1,4 +1,4 @@
1
- export { z as GuildBetUser } from '../../index-BlU-ryiZ.js';
1
+ export { E as GuildBetUser } from '../../index-BwmNIP2p.js';
2
2
  import '../../types/api/APIAdvert.js';
3
3
  import '../../types/api/APIBaseChannel.js';
4
4
  import '../../types/api/APIBetChannel.js';
@@ -1,4 +1,4 @@
1
- export { G as Guild } from '../../index-BlU-ryiZ.js';
1
+ export { G as Guild } from '../../index-BwmNIP2p.js';
2
2
  import '../Collection.js';
3
3
  import '../../types/api/APIBuff.js';
4
4
  import '../../types/api/APITimer.js';
@@ -361,7 +361,8 @@ class Guild {
361
361
  secondary_color: !data.default ? data.secondary_color || this.roulette_settings.secondary_color || "#1A1A1A" : "#1A1A1A",
362
362
  tertiary_color: !data.default ? data.tertiary_color || this.roulette_settings.tertiary_color || "#2D2D2D" : "#2D2D2D",
363
363
  text_color: !data.default ? data.text_color || this.roulette_settings.text_color || "#ffffff" : "#ffffff",
364
- prizes: data.prizes || this.roulette_settings.prizes || []
364
+ prizes: data.prizes || this.roulette_settings.prizes || [],
365
+ custom_banner: data.custom_banner || this.roulette_settings.custom_banner || ""
365
366
  }
366
367
  };
367
368
  return this.update(_data);
@@ -674,8 +675,6 @@ update_fn = function(data) {
674
675
  }
675
676
  continue;
676
677
  }
677
- if (key === "buffs") {
678
- }
679
678
  }
680
679
  if ("buffs" in data) {
681
680
  this.buffs = new import_Collection.Collection();
@@ -1,4 +1,4 @@
1
- export { j as AutomaticMessage, G as Guild, x as GuildBet, z as GuildBetUser, K as GuildMatch, O as GuildMediator, X as GuildTicket, $ as GuildUser, a1 as LogEntry, a9 as MinesGame, ag as Product, ao as Shop, as as TicketPanel, au as Tournament, ax as VipMember } from '../index-BlU-ryiZ.js';
1
+ export { j as AutomaticMessage, G as Guild, y as GuildBet, E as GuildBetUser, L as GuildMatch, P as GuildMediator, Y as GuildTicket, a0 as GuildUser, a2 as LogEntry, aa as MinesGame, ah as Product, ap as Shop, at as TicketPanel, av as Tournament, ay as VipMember } from '../index-BwmNIP2p.js';
2
2
  export { Collection } from './Collection.js';
3
3
  import '../types/api/APIAdvert.js';
4
4
  import '../types/api/APIBaseChannel.js';
@@ -1,4 +1,4 @@
1
- export { a1 as LogEntry } from '../../index-BlU-ryiZ.js';
1
+ export { a2 as LogEntry } from '../../index-BwmNIP2p.js';
2
2
  import '../../types/api/APILogEntry.js';
3
3
  import '../../types/api/APIAdvert.js';
4
4
  import '../../types/api/APIBaseChannel.js';
@@ -1,4 +1,4 @@
1
- export { K as GuildMatch } from '../../index-BlU-ryiZ.js';
1
+ export { L as GuildMatch } from '../../index-BwmNIP2p.js';
2
2
  import '../../types/api/APIPlayer.js';
3
3
  import '../../types/api/APIBaseChannel.js';
4
4
  import '../../types/api/APIAdvert.js';
@@ -1,4 +1,4 @@
1
- export { O as GuildMediator } from '../../index-BlU-ryiZ.js';
1
+ export { P as GuildMediator } from '../../index-BwmNIP2p.js';
2
2
  import '../../types/api/APIGuildMediator.js';
3
3
  import '../../types/api/APIAdvert.js';
4
4
  import '../../types/api/APIBaseChannel.js';
@@ -1,4 +1,4 @@
1
- export { a9 as MinesGame } from '../../index-BlU-ryiZ.js';
1
+ export { aa as MinesGame } from '../../index-BwmNIP2p.js';
2
2
  import '../../types/api/APIMinesGame.js';
3
3
  import '../../types/api/APIAdvert.js';
4
4
  import '../../types/api/APIBaseChannel.js';
@@ -1,4 +1,4 @@
1
- export { ag as Product } from '../../index-BlU-ryiZ.js';
1
+ export { ah as Product } from '../../index-BwmNIP2p.js';
2
2
  import '../../types/api/APIPlayer.js';
3
3
  import '../../types/api/APIProduct.js';
4
4
  import '../../types/api/APIAdvert.js';
@@ -1,5 +1,5 @@
1
1
  import 'discord-api-types/v10';
2
- export { ao as Shop } from '../../index-BlU-ryiZ.js';
2
+ export { ap as Shop } from '../../index-BwmNIP2p.js';
3
3
  import '../../types/api/APIGuildShop.js';
4
4
  import '../../types/api/APIAdvert.js';
5
5
  import '../../types/api/APIBaseChannel.js';
@@ -1,4 +1,4 @@
1
- export { X as GuildTicket } from '../../index-BlU-ryiZ.js';
1
+ export { Y as GuildTicket } from '../../index-BwmNIP2p.js';
2
2
  import '../../types/api/APIGuildTicket.js';
3
3
  import '../../types/api/APIAdvert.js';
4
4
  import '../../types/api/APIBaseChannel.js';
@@ -1,5 +1,5 @@
1
1
  import 'discord-api-types/v10';
2
- export { as as TicketPanel } from '../../index-BlU-ryiZ.js';
2
+ export { at as TicketPanel } from '../../index-BwmNIP2p.js';
3
3
  import '../../types/api/APIAdvert.js';
4
4
  import '../../types/api/APIBaseChannel.js';
5
5
  import '../../types/api/APIBetChannel.js';
@@ -1,4 +1,4 @@
1
- export { au as Tournament } from '../../index-BlU-ryiZ.js';
1
+ export { av as Tournament } from '../../index-BwmNIP2p.js';
2
2
  import '../../types/api/APIPlayer.js';
3
3
  import '../../types/api/APITournament.js';
4
4
  import '../../types/api/APIAdvert.js';
@@ -1,4 +1,4 @@
1
- export { $ as GuildUser } from '../../index-BlU-ryiZ.js';
1
+ export { a0 as GuildUser } from '../../index-BwmNIP2p.js';
2
2
  import '../../types/api/APIAdvert.js';
3
3
  import '../../types/api/APIBaseChannel.js';
4
4
  import '../../types/api/APIBetChannel.js';
@@ -1,4 +1,4 @@
1
- export { ax as VipMember } from '../../index-BlU-ryiZ.js';
1
+ export { ay as VipMember } from '../../index-BwmNIP2p.js';
2
2
  import '../../types/api/APIVipMember.js';
3
3
  import '../../types/api/APIAdvert.js';
4
4
  import '../../types/api/APIBaseChannel.js';
@@ -1,5 +1,5 @@
1
1
  import '../structures/Collection.js';
2
- export { aj as RequestOptions, ak as RestEvents } from '../index-BlU-ryiZ.js';
2
+ export { ak as RequestOptions, al as RestEvents } from '../index-BwmNIP2p.js';
3
3
  import './api/APIAdvert.js';
4
4
  import './api/APIBaseChannel.js';
5
5
  import './api/APIBetChannel.js';
@@ -1,5 +1,5 @@
1
1
  import 'discord-api-types/v10';
2
- export { A as APIAutomaticMessage } from '../../index-BlU-ryiZ.js';
2
+ export { A as APIAutomaticMessage, l as AutomaticMessagePayload } from '../../index-BwmNIP2p.js';
3
3
  import './APIAdvert.js';
4
4
  import './APIBaseChannel.js';
5
5
  import './APIBetChannel.js';
@@ -1,4 +1,4 @@
1
- export { a as APIGuild, l as AutomaticMessagesTypes, v as DailyCategories, H as GuildChannelsType, I as GuildLogsWebhookUrls, Q as GuildModes, T as GuildPrices, U as GuildScores, V as GuildStatus, W as GuildStatusEnum, Y as GuildTicketConfiguration, _ as GuildTimerTypes, al as RoulettePrize, am as RouletteSettings } from '../../index-BlU-ryiZ.js';
1
+ export { a as APIGuild, m as AutomaticMessagesTypes, w as DailyCategories, I as GuildChannelsType, J as GuildLogsWebhookUrls, S as GuildModes, U as GuildPrices, V as GuildScores, W as GuildStatus, X as GuildStatusEnum, Z as GuildTicketConfiguration, $ as GuildTimerTypes, am as RoulettePrize, an as RouletteSettings } from '../../index-BwmNIP2p.js';
2
2
  import './APIBuff.js';
3
3
  import './APIGuildPermissions.js';
4
4
  import './APITimer.js';
@@ -68,6 +68,7 @@ var GuildChannelsType = /* @__PURE__ */ ((GuildChannelsType2) => {
68
68
  GuildChannelsType2["BotWarningsChannel"] = "bot_warnings_channel";
69
69
  GuildChannelsType2["UserWarningsChannel"] = "user_warnings_channel";
70
70
  GuildChannelsType2["TicketRatingChannel"] = "ticket_rating_channel";
71
+ GuildChannelsType2["RouletteChannel"] = "roulette_channel";
71
72
  return GuildChannelsType2;
72
73
  })(GuildChannelsType || {});
73
74
  var GuildTimerTypes = /* @__PURE__ */ ((GuildTimerTypes2) => {
@@ -1,4 +1,4 @@
1
- export { b as APIGuildBet, q as BetChannelTypes, r as BetQueue } from '../../index-BlU-ryiZ.js';
1
+ export { b as APIGuildBet, r as BetChannelTypes, s as BetQueue } from '../../index-BwmNIP2p.js';
2
2
  import './APIBetChannel.js';
3
3
  import './APIMessage.js';
4
4
  import './APIPlayer.js';
@@ -1,4 +1,4 @@
1
- export { c as APIGuildBetUser } from '../../index-BlU-ryiZ.js';
1
+ export { c as APIGuildBetUser } from '../../index-BwmNIP2p.js';
2
2
  import './APIAdvert.js';
3
3
  import './APIBaseChannel.js';
4
4
  import './APIBetChannel.js';
@@ -1,4 +1,4 @@
1
- export { d as APIGuildGroupedChannel } from '../../index-BlU-ryiZ.js';
1
+ export { d as APIGuildGroupedChannel } from '../../index-BwmNIP2p.js';
2
2
  import './APIAdvert.js';
3
3
  import './APIBaseChannel.js';
4
4
  import './APIBetChannel.js';
@@ -1,4 +1,4 @@
1
- export { e as APIGuildMatch, L as GuildMatchChannelsType, N as GuildMatchMessagesType, a7 as MatchSelection } from '../../index-BlU-ryiZ.js';
1
+ export { e as APIGuildMatch, M as GuildMatchChannelsType, O as GuildMatchMessagesType, a8 as MatchSelection } from '../../index-BwmNIP2p.js';
2
2
  import './APIPlayer.js';
3
3
  import './APIBaseChannel.js';
4
4
  import './APIMessage.js';
@@ -10,7 +10,6 @@ declare enum GuildPermissionsTypes {
10
10
  ManageUsers = "manage_users",
11
11
  ManageScores = "manage_scores",
12
12
  ManageQueues = "manage_queues",
13
- ViewQueueChannels = "view_queue_channels",
14
13
  EnterQueueVoiceChannels = "enter_queue_voice_channels",
15
14
  ViewQueueTextChannels = "view_queue_text_channels",
16
15
  CreatePersonalizedMessages = "create_personalized_messages",
@@ -27,7 +26,10 @@ declare enum GuildPermissionsTypes {
27
26
  CreateShop = "create_shop",
28
27
  DeliverShopProduct = "deliver_shop_product",
29
28
  CreateQueueFromAnyChannel = "create_queues_from_any_channel",
30
- PunishMembers = "punish_members"
29
+ PunishMembers = "punish_members",
30
+ ChangeNick = "change_nick",
31
+ GiveWarnings = "give_warnings",
32
+ ManageBlacklist = "manage_blacklist"
31
33
  }
32
34
 
33
35
  export { type APIGuildPermissions, GuildPermissionsTypes, type Permission };
@@ -28,7 +28,6 @@ var GuildPermissionsTypes = /* @__PURE__ */ ((GuildPermissionsTypes2) => {
28
28
  GuildPermissionsTypes2["ManageUsers"] = "manage_users";
29
29
  GuildPermissionsTypes2["ManageScores"] = "manage_scores";
30
30
  GuildPermissionsTypes2["ManageQueues"] = "manage_queues";
31
- GuildPermissionsTypes2["ViewQueueChannels"] = "view_queue_channels";
32
31
  GuildPermissionsTypes2["EnterQueueVoiceChannels"] = "enter_queue_voice_channels";
33
32
  GuildPermissionsTypes2["ViewQueueTextChannels"] = "view_queue_text_channels";
34
33
  GuildPermissionsTypes2["CreatePersonalizedMessages"] = "create_personalized_messages";
@@ -46,6 +45,9 @@ var GuildPermissionsTypes = /* @__PURE__ */ ((GuildPermissionsTypes2) => {
46
45
  GuildPermissionsTypes2["DeliverShopProduct"] = "deliver_shop_product";
47
46
  GuildPermissionsTypes2["CreateQueueFromAnyChannel"] = "create_queues_from_any_channel";
48
47
  GuildPermissionsTypes2["PunishMembers"] = "punish_members";
48
+ GuildPermissionsTypes2["ChangeNick"] = "change_nick";
49
+ GuildPermissionsTypes2["GiveWarnings"] = "give_warnings";
50
+ GuildPermissionsTypes2["ManageBlacklist"] = "manage_blacklist";
49
51
  return GuildPermissionsTypes2;
50
52
  })(GuildPermissionsTypes || {});
51
53
  // Annotate the CommonJS export names for ESM import in node:
@@ -1,4 +1,4 @@
1
- export { f as APIGuildUser, ah as Profile } from '../../index-BlU-ryiZ.js';
1
+ export { f as APIGuildUser, ai as Profile } from '../../index-BwmNIP2p.js';
2
2
  import './APIAdvert.js';
3
3
  import './APIBaseChannel.js';
4
4
  import './APIBetChannel.js';
@@ -14,6 +14,7 @@ declare enum LogEntryTypes {
14
14
  UserCreations = "user_creations",
15
15
  UserCredits = "user_credits",
16
16
  RoulleteSpinsGained = "roullete_spins_gained",
17
+ RoulleteSpinsLost = "roullete_spins_removed",
17
18
  RoulleteSpinsUsed = "roullete_spins_used",
18
19
  ProductRedeemed = "shop_product_redeemed",
19
20
  BetManaged = "bet_managed",
@@ -37,6 +37,7 @@ var LogEntryTypes = /* @__PURE__ */ ((LogEntryTypes2) => {
37
37
  LogEntryTypes2["UserCreations"] = "user_creations";
38
38
  LogEntryTypes2["UserCredits"] = "user_credits";
39
39
  LogEntryTypes2["RoulleteSpinsGained"] = "roullete_spins_gained";
40
+ LogEntryTypes2["RoulleteSpinsLost"] = "roullete_spins_removed";
40
41
  LogEntryTypes2["RoulleteSpinsUsed"] = "roullete_spins_used";
41
42
  LogEntryTypes2["ProductRedeemed"] = "shop_product_redeemed";
42
43
  LogEntryTypes2["BetManaged"] = "bet_managed";
@@ -1,5 +1,5 @@
1
1
  import 'discord-api-types/v10';
2
- export { h as APITicketPanel } from '../../index-BlU-ryiZ.js';
2
+ export { h as APITicketPanel } from '../../index-BwmNIP2p.js';
3
3
  import './APIAdvert.js';
4
4
  import './APIBaseChannel.js';
5
5
  import './APIBetChannel.js';
@@ -1,5 +1,5 @@
1
1
  export { APIAdvert } from './APIAdvert.js';
2
- 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, l as AutomaticMessagesTypes, B as BETSTATUS, m as Banner, o as BaseMatchModes, p as BaseMatchStatus, q as BetChannelTypes, r as BetQueue, C as Confirm, D as Daily, v as DailyCategories, H as GuildChannelsType, I as GuildLogsWebhookUrls, L as GuildMatchChannelsType, N as GuildMatchMessagesType, Q as GuildModes, T as GuildPrices, U as GuildScores, V as GuildStatus, W as GuildStatusEnum, Y as GuildTicketConfiguration, _ as GuildTimerTypes, a3 as LogMessage, a4 as Logs, a5 as MATCHSTATUS, a6 as MATCHTYPES, a7 as MatchSelection, ab as Optional, ac as OriginalChannel, ad as OriginalChannels, ah as Profile, ai as ProfileCard, al as RoulettePrize, am as RouletteSettings, an as STATES, aq as StatusResponse, aw as UserAccessoryType } from '../../index-BlU-ryiZ.js';
2
+ 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, l as AutomaticMessagePayload, m as AutomaticMessagesTypes, B as BETSTATUS, n as Banner, p as BaseMatchModes, q as BaseMatchStatus, r as BetChannelTypes, s as BetQueue, C as Confirm, D as Daily, w as DailyCategories, I as GuildChannelsType, J as GuildLogsWebhookUrls, M as GuildMatchChannelsType, O as GuildMatchMessagesType, S as GuildModes, U as GuildPrices, V as GuildScores, W as GuildStatus, X as GuildStatusEnum, Z as GuildTicketConfiguration, $ as GuildTimerTypes, a4 as LogMessage, a5 as Logs, a6 as MATCHSTATUS, a7 as MATCHTYPES, a8 as MatchSelection, ac as Optional, ad as OriginalChannel, ae as OriginalChannels, ai as Profile, aj as ProfileCard, am as RoulettePrize, an as RouletteSettings, ao as STATES, ar as StatusResponse, ax as UserAccessoryType } from '../../index-BwmNIP2p.js';
3
3
  export { APIBaseChannel } from './APIBaseChannel.js';
4
4
  export { APIBetChannel } from './APIBetChannel.js';
5
5
  export { APIBuff } from './APIBuff.js';
@@ -1,4 +1,4 @@
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, l as AutomaticMessagesTypes, B as BETSTATUS, m as Banner, o as BaseMatchModes, p as BaseMatchStatus, q as BetChannelTypes, r as BetQueue, C as Confirm, D as Daily, v as DailyCategories, H as GuildChannelsType, I as GuildLogsWebhookUrls, L as GuildMatchChannelsType, N as GuildMatchMessagesType, Q as GuildModes, T as GuildPrices, U as GuildScores, V as GuildStatus, W as GuildStatusEnum, Y as GuildTicketConfiguration, _ as GuildTimerTypes, a3 as LogMessage, a4 as Logs, a5 as MATCHSTATUS, a6 as MATCHTYPES, a7 as MatchSelection, ab as Optional, ac as OriginalChannel, ad as OriginalChannels, ah as Profile, ai as ProfileCard, aj as RequestOptions, ak as RestEvents, al as RoulettePrize, am as RouletteSettings, an as STATES, aq as StatusResponse, aw as UserAccessoryType } from '../index-BlU-ryiZ.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, l as AutomaticMessagePayload, m as AutomaticMessagesTypes, B as BETSTATUS, n as Banner, p as BaseMatchModes, q as BaseMatchStatus, r as BetChannelTypes, s as BetQueue, C as Confirm, D as Daily, w as DailyCategories, I as GuildChannelsType, J as GuildLogsWebhookUrls, M as GuildMatchChannelsType, O as GuildMatchMessagesType, S as GuildModes, U as GuildPrices, V as GuildScores, W as GuildStatus, X as GuildStatusEnum, Z as GuildTicketConfiguration, $ as GuildTimerTypes, a4 as LogMessage, a5 as Logs, a6 as MATCHSTATUS, a7 as MATCHTYPES, a8 as MatchSelection, ac as Optional, ad as OriginalChannel, ae as OriginalChannels, ai as Profile, aj as ProfileCard, ak as RequestOptions, al as RestEvents, am as RoulettePrize, an as RouletteSettings, ao as STATES, ar as StatusResponse, ax as UserAccessoryType } from '../index-BwmNIP2p.js';
2
2
  export { APIAdvert } from './api/APIAdvert.js';
3
3
  export { APIBaseChannel } from './api/APIBaseChannel.js';
4
4
  export { APIBetChannel } from './api/APIBetChannel.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@duque.edits/sdk",
3
- "version": "1.6.0",
3
+ "version": "1.6.3",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",
@@ -20,6 +20,7 @@
20
20
  "scripts": {
21
21
  "test": "ts-node --transpile-only tests/index.ts",
22
22
  "match": "ts-node --transpile-only tests/match.ts",
23
+ "messages": "ts-node --transpile-only tests/messages.ts",
23
24
  "guild": "ts-node --transpile-only tests/guild.ts",
24
25
  "user": "ts-node --transpile-only tests/user.ts",
25
26
  "bet": "ts-node --transpile-only tests/bet.ts",