@duque.edits/sdk 1.5.0 → 1.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{index-CU0rmO1q.d.ts → index-BlU-ryiZ.d.ts} +12 -30
- package/dist/index.d.ts +2 -1
- package/dist/managers/automaticmessage/AutomaticMessageManager.d.ts +2 -1
- package/dist/managers/base.d.ts +2 -1
- package/dist/managers/bet/GuildBetManager.d.ts +2 -1
- package/dist/managers/betuser/GuildBetUserManager.d.ts +2 -1
- package/dist/managers/buffer/BufferManager.d.ts +2 -1
- package/dist/managers/guild/GuildManager.d.ts +2 -1
- package/dist/managers/index.d.ts +2 -1
- package/dist/managers/logs/LogManager.d.ts +2 -1
- package/dist/managers/match/GuildMatchManager.d.ts +2 -1
- package/dist/managers/mediator/GuildMediatorManager.d.ts +2 -1
- package/dist/managers/message/MessagesManager.d.ts +2 -1
- package/dist/managers/minesgame/MinesGameManager.d.ts +2 -1
- package/dist/managers/permission/GuildPermissionManager.d.ts +2 -1
- package/dist/managers/player/PlayerManager.d.ts +2 -1
- package/dist/managers/product/ProductManager.d.ts +2 -1
- package/dist/managers/shop/ShopManager.d.ts +2 -1
- package/dist/managers/ticket/TicketManager.d.ts +2 -1
- package/dist/managers/ticketpanel/TicketPanelManager.d.ts +2 -1
- package/dist/managers/tournament/TournamentManager.d.ts +2 -1
- package/dist/managers/user/GuildUserManager.d.ts +2 -1
- package/dist/managers/user/GuildUserManager.js +1 -2
- package/dist/managers/vipmember/VipMemberManager.d.ts +2 -1
- package/dist/rest/REST.d.ts +2 -1
- package/dist/rest/index.d.ts +2 -1
- package/dist/structures/automaticmessage/AutomaticMessage.d.ts +2 -1
- package/dist/structures/bet/GuildBet.d.ts +2 -1
- package/dist/structures/betuser/GuildBetUser.d.ts +2 -1
- package/dist/structures/guild/Guild.d.ts +2 -1
- package/dist/structures/guild/Guild.js +54 -0
- package/dist/structures/index.d.ts +2 -1
- package/dist/structures/logentry/LogEntry.d.ts +2 -1
- package/dist/structures/match/GuildMatch.d.ts +2 -1
- package/dist/structures/mediator/GuildMediator.d.ts +2 -1
- package/dist/structures/minesgame/MinesGame.d.ts +2 -1
- package/dist/structures/product/Product.d.ts +2 -1
- package/dist/structures/shop/Shop.d.ts +2 -1
- package/dist/structures/ticket/Ticket.d.ts +2 -1
- package/dist/structures/ticketpanel/TicketPanel.d.ts +2 -1
- package/dist/structures/tournament/Tournament.d.ts +2 -1
- package/dist/structures/user/GuildUser.d.ts +2 -1
- package/dist/structures/user/GuildUser.js +0 -44
- package/dist/structures/vipmember/VipMember.d.ts +2 -1
- package/dist/types/RestTypes.d.ts +2 -1
- package/dist/types/api/APIAutomaticMessage.d.ts +2 -1
- package/dist/types/api/APIBuff.d.ts +10 -0
- package/dist/types/api/APIBuff.js +16 -0
- package/dist/types/api/APIGuild.d.ts +2 -1
- package/dist/types/api/APIGuildBet.d.ts +2 -1
- package/dist/types/api/APIGuildBetUser.d.ts +2 -1
- package/dist/types/api/APIGuildGroupedChannel.d.ts +2 -1
- package/dist/types/api/APIGuildMatch.d.ts +2 -1
- package/dist/types/api/APIGuildUser.d.ts +2 -1
- package/dist/types/api/APILogEntry.d.ts +10 -0
- package/dist/types/api/APILogEntry.js +10 -0
- package/dist/types/api/APITicketPanel.d.ts +2 -1
- package/dist/types/api/index.d.ts +2 -1
- package/dist/types/api/index.js +2 -0
- package/dist/types/index.d.ts +2 -1
- package/package.json +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { APIAdvert } from './types/api/APIAdvert.js';
|
|
2
2
|
import { APIBaseChannel } from './types/api/APIBaseChannel.js';
|
|
3
3
|
import { APIBetChannel } from './types/api/APIBetChannel.js';
|
|
4
|
+
import { APIBuff } from './types/api/APIBuff.js';
|
|
4
5
|
import { APICode } from './types/api/APICode.js';
|
|
5
6
|
import './types/api/APIGiveaway.js';
|
|
6
7
|
import { APIGuildAdvert } from './types/api/APIGuildAdvert.js';
|
|
@@ -167,6 +168,7 @@ interface APIGuild {
|
|
|
167
168
|
match_count: number;
|
|
168
169
|
bet_count: number;
|
|
169
170
|
timers: APITimer[];
|
|
171
|
+
buffs: APIBuff[];
|
|
170
172
|
}
|
|
171
173
|
interface GuildLogsWebhookUrls {
|
|
172
174
|
queues: {
|
|
@@ -918,36 +920,6 @@ declare class GuildUser implements APIGuildUser {
|
|
|
918
920
|
setUpdate(data: Optional<APIGuildUser>): Promise<this>;
|
|
919
921
|
delete(): Promise<boolean>;
|
|
920
922
|
toJSON(): APIGuildUser;
|
|
921
|
-
userDailyWrapper(user: Optional<APIGuildUser>): {
|
|
922
|
-
daily: {
|
|
923
|
-
points: number;
|
|
924
|
-
wins: number;
|
|
925
|
-
coins: number;
|
|
926
|
-
losses: number;
|
|
927
|
-
mvps: number;
|
|
928
|
-
bets: number;
|
|
929
|
-
date: Date;
|
|
930
|
-
};
|
|
931
|
-
consecutive_wins: number;
|
|
932
|
-
id?: string;
|
|
933
|
-
guild_id?: string;
|
|
934
|
-
profile?: Profile;
|
|
935
|
-
points?: number;
|
|
936
|
-
creations?: number;
|
|
937
|
-
wins?: number;
|
|
938
|
-
adverts?: APIAdvert[];
|
|
939
|
-
mvps?: number;
|
|
940
|
-
coins?: number;
|
|
941
|
-
losses?: number;
|
|
942
|
-
games?: number;
|
|
943
|
-
blacklist?: boolean;
|
|
944
|
-
accessories?: Accessory[];
|
|
945
|
-
original_channels?: OriginalChannels;
|
|
946
|
-
spins?: number;
|
|
947
|
-
used_codes?: string[];
|
|
948
|
-
createdAt?: Date;
|
|
949
|
-
updatedAt?: Date;
|
|
950
|
-
};
|
|
951
923
|
}
|
|
952
924
|
|
|
953
925
|
interface RequestOptions<Payload> {
|
|
@@ -1480,6 +1452,7 @@ declare class Guild {
|
|
|
1480
1452
|
timers: Collection<string, APITimer>;
|
|
1481
1453
|
codes: Collection<string, APICode>;
|
|
1482
1454
|
coin_symbol: string;
|
|
1455
|
+
buffs: Collection<string, APIBuff>;
|
|
1483
1456
|
/**
|
|
1484
1457
|
* The guild structure
|
|
1485
1458
|
* @param data The guild's data
|
|
@@ -1517,6 +1490,15 @@ declare class Guild {
|
|
|
1517
1490
|
toggleDailyCategory(category: keyof Omit<Daily, "date">): Promise<this>;
|
|
1518
1491
|
setScores(name: AvailableScores, amount: number): Promise<this>;
|
|
1519
1492
|
toggleMode(...mode: BaseMatchModes[]): Promise<this>;
|
|
1493
|
+
createBuff(data: Optional<APIBuff>): Promise<{
|
|
1494
|
+
_id: string;
|
|
1495
|
+
percentage: number;
|
|
1496
|
+
createdAt: Date;
|
|
1497
|
+
updatedAt: Date;
|
|
1498
|
+
role_id?: string;
|
|
1499
|
+
admin_id?: string;
|
|
1500
|
+
}>;
|
|
1501
|
+
deleteBuff(id: string): Promise<this>;
|
|
1520
1502
|
toJSON(): APIGuild;
|
|
1521
1503
|
}
|
|
1522
1504
|
type AvailableScores = "win" | "loss" | "mvp" | "creator" | "coin";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
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-
|
|
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';
|
|
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
6
|
export { APIBaseChannel } from './types/api/APIBaseChannel.js';
|
|
7
7
|
export { APIBetChannel } from './types/api/APIBetChannel.js';
|
|
8
|
+
export { APIBuff } from './types/api/APIBuff.js';
|
|
8
9
|
export { APICode } from './types/api/APICode.js';
|
|
9
10
|
export { APIGiveaway, GiveawayMessage, GiveawayWinners } from './types/api/APIGiveaway.js';
|
|
10
11
|
export { APIGuildAdvert } from './types/api/APIGuildAdvert.js';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export { k as AutomaticMessageManager } from '../../index-
|
|
1
|
+
export { k as AutomaticMessageManager } from '../../index-BlU-ryiZ.js';
|
|
2
2
|
import '../../structures/Collection.js';
|
|
3
3
|
import '../../types/api/APIAdvert.js';
|
|
4
4
|
import '../../types/api/APIBaseChannel.js';
|
|
5
5
|
import '../../types/api/APIBetChannel.js';
|
|
6
|
+
import '../../types/api/APIBuff.js';
|
|
6
7
|
import '../../types/api/APICode.js';
|
|
7
8
|
import '../../types/api/APIGiveaway.js';
|
|
8
9
|
import '../../types/api/APIGuildAdvert.js';
|
package/dist/managers/base.d.ts
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export { n as BaseManager } from '../index-
|
|
1
|
+
export { n as BaseManager } from '../index-BlU-ryiZ.js';
|
|
2
2
|
import '../structures/Collection.js';
|
|
3
3
|
import '../types/api/APIAdvert.js';
|
|
4
4
|
import '../types/api/APIBaseChannel.js';
|
|
5
5
|
import '../types/api/APIBetChannel.js';
|
|
6
|
+
import '../types/api/APIBuff.js';
|
|
6
7
|
import '../types/api/APICode.js';
|
|
7
8
|
import '../types/api/APIGiveaway.js';
|
|
8
9
|
import '../types/api/APIGuildAdvert.js';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export { F as FetchOptions, y as GuildBetManager } from '../../index-
|
|
1
|
+
export { F as FetchOptions, y as GuildBetManager } from '../../index-BlU-ryiZ.js';
|
|
2
2
|
import '../../structures/Collection.js';
|
|
3
3
|
import '../../types/api/APIAdvert.js';
|
|
4
4
|
import '../../types/api/APIBaseChannel.js';
|
|
5
5
|
import '../../types/api/APIBetChannel.js';
|
|
6
|
+
import '../../types/api/APIBuff.js';
|
|
6
7
|
import '../../types/api/APICode.js';
|
|
7
8
|
import '../../types/api/APIGiveaway.js';
|
|
8
9
|
import '../../types/api/APIGuildAdvert.js';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export { E as GuildBetUserManager } from '../../index-
|
|
1
|
+
export { E as GuildBetUserManager } from '../../index-BlU-ryiZ.js';
|
|
2
2
|
import '../../structures/Collection.js';
|
|
3
3
|
import '../../types/api/APIAdvert.js';
|
|
4
4
|
import '../../types/api/APIBaseChannel.js';
|
|
5
5
|
import '../../types/api/APIBetChannel.js';
|
|
6
|
+
import '../../types/api/APIBuff.js';
|
|
6
7
|
import '../../types/api/APICode.js';
|
|
7
8
|
import '../../types/api/APIGiveaway.js';
|
|
8
9
|
import '../../types/api/APIGuildAdvert.js';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import '../../structures/Collection.js';
|
|
2
|
-
export { s as BufferManager, t as BufferMatch, u as BufferTicket } from '../../index-
|
|
2
|
+
export { s as BufferManager, t as BufferMatch, u as BufferTicket } from '../../index-BlU-ryiZ.js';
|
|
3
3
|
import '../../types/api/APIGuildTicket.js';
|
|
4
4
|
import '../../types/api/APIAdvert.js';
|
|
5
5
|
import '../../types/api/APIBaseChannel.js';
|
|
6
6
|
import '../../types/api/APIBetChannel.js';
|
|
7
|
+
import '../../types/api/APIBuff.js';
|
|
7
8
|
import '../../types/api/APICode.js';
|
|
8
9
|
import '../../types/api/APIGiveaway.js';
|
|
9
10
|
import '../../types/api/APIGuildAdvert.js';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export { J as GuildManager } from '../../index-
|
|
1
|
+
export { J as GuildManager } from '../../index-BlU-ryiZ.js';
|
|
2
2
|
import '../../structures/Collection.js';
|
|
3
3
|
import '../../types/api/APIAdvert.js';
|
|
4
4
|
import '../../types/api/APIBaseChannel.js';
|
|
5
5
|
import '../../types/api/APIBetChannel.js';
|
|
6
|
+
import '../../types/api/APIBuff.js';
|
|
6
7
|
import '../../types/api/APICode.js';
|
|
7
8
|
import '../../types/api/APIGiveaway.js';
|
|
8
9
|
import '../../types/api/APIGuildAdvert.js';
|
package/dist/managers/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
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-
|
|
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';
|
|
2
2
|
import '../types/api/APIAdvert.js';
|
|
3
3
|
import '../types/api/APIBaseChannel.js';
|
|
4
4
|
import '../types/api/APIBetChannel.js';
|
|
5
|
+
import '../types/api/APIBuff.js';
|
|
5
6
|
import '../types/api/APICode.js';
|
|
6
7
|
import '../types/api/APIGiveaway.js';
|
|
7
8
|
import '../types/api/APIGuildAdvert.js';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
export { a2 as LogManager } from '../../index-
|
|
1
|
+
export { a2 as LogManager } from '../../index-BlU-ryiZ.js';
|
|
2
2
|
import '../../structures/Collection.js';
|
|
3
3
|
import '../../types/api/APILogEntry.js';
|
|
4
4
|
import '../../types/api/APIAdvert.js';
|
|
5
5
|
import '../../types/api/APIBaseChannel.js';
|
|
6
6
|
import '../../types/api/APIBetChannel.js';
|
|
7
|
+
import '../../types/api/APIBuff.js';
|
|
7
8
|
import '../../types/api/APICode.js';
|
|
8
9
|
import '../../types/api/APIGiveaway.js';
|
|
9
10
|
import '../../types/api/APIGuildAdvert.js';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export { M as GuildMatchManager } from '../../index-
|
|
1
|
+
export { M as GuildMatchManager } from '../../index-BlU-ryiZ.js';
|
|
2
2
|
import '../../structures/Collection.js';
|
|
3
3
|
import '../../types/api/APIAdvert.js';
|
|
4
4
|
import '../../types/api/APIBaseChannel.js';
|
|
5
5
|
import '../../types/api/APIBetChannel.js';
|
|
6
|
+
import '../../types/api/APIBuff.js';
|
|
6
7
|
import '../../types/api/APICode.js';
|
|
7
8
|
import '../../types/api/APIGiveaway.js';
|
|
8
9
|
import '../../types/api/APIGuildAdvert.js';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
export { P as GuildMediatorManager } from '../../index-
|
|
1
|
+
export { P as GuildMediatorManager } from '../../index-BlU-ryiZ.js';
|
|
2
2
|
import '../../structures/Collection.js';
|
|
3
3
|
import '../../types/api/APIGuildMediator.js';
|
|
4
4
|
import '../../types/api/APIAdvert.js';
|
|
5
5
|
import '../../types/api/APIBaseChannel.js';
|
|
6
6
|
import '../../types/api/APIBetChannel.js';
|
|
7
|
+
import '../../types/api/APIBuff.js';
|
|
7
8
|
import '../../types/api/APICode.js';
|
|
8
9
|
import '../../types/api/APIGiveaway.js';
|
|
9
10
|
import '../../types/api/APIGuildAdvert.js';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
export { a8 as MessagesManager } from '../../index-
|
|
1
|
+
export { a8 as MessagesManager } from '../../index-BlU-ryiZ.js';
|
|
2
2
|
import '../../structures/Collection.js';
|
|
3
3
|
import '../../types/api/APIMessage.js';
|
|
4
4
|
import '../../types/api/APIAdvert.js';
|
|
5
5
|
import '../../types/api/APIBaseChannel.js';
|
|
6
6
|
import '../../types/api/APIBetChannel.js';
|
|
7
|
+
import '../../types/api/APIBuff.js';
|
|
7
8
|
import '../../types/api/APICode.js';
|
|
8
9
|
import '../../types/api/APIGiveaway.js';
|
|
9
10
|
import '../../types/api/APIGuildAdvert.js';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
export { aa as MinesGameManager } from '../../index-
|
|
1
|
+
export { aa as MinesGameManager } from '../../index-BlU-ryiZ.js';
|
|
2
2
|
import '../../structures/Collection.js';
|
|
3
3
|
import '../../types/api/APIMinesGame.js';
|
|
4
4
|
import '../../types/api/APIAdvert.js';
|
|
5
5
|
import '../../types/api/APIBaseChannel.js';
|
|
6
6
|
import '../../types/api/APIBetChannel.js';
|
|
7
|
+
import '../../types/api/APIBuff.js';
|
|
7
8
|
import '../../types/api/APICode.js';
|
|
8
9
|
import '../../types/api/APIGiveaway.js';
|
|
9
10
|
import '../../types/api/APIGuildAdvert.js';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export { S as GuildPermissionManager } from '../../index-
|
|
1
|
+
export { S as GuildPermissionManager } from '../../index-BlU-ryiZ.js';
|
|
2
2
|
import '../../types/api/APIGuildPermissions.js';
|
|
3
3
|
import '../../types/api/APIAdvert.js';
|
|
4
4
|
import '../../types/api/APIBaseChannel.js';
|
|
5
5
|
import '../../types/api/APIBetChannel.js';
|
|
6
|
+
import '../../types/api/APIBuff.js';
|
|
6
7
|
import '../../types/api/APICode.js';
|
|
7
8
|
import '../../types/api/APIGiveaway.js';
|
|
8
9
|
import '../../types/api/APIGuildAdvert.js';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import '../../types/api/APIPlayer.js';
|
|
2
|
-
export { ae as PlayerManager, af as PlayerOption, ar as Structure } from '../../index-
|
|
2
|
+
export { ae as PlayerManager, af as PlayerOption, ar as Structure } from '../../index-BlU-ryiZ.js';
|
|
3
3
|
import '../../structures/Collection.js';
|
|
4
4
|
import '../../types/api/APIAdvert.js';
|
|
5
5
|
import '../../types/api/APIBaseChannel.js';
|
|
6
6
|
import '../../types/api/APIBetChannel.js';
|
|
7
|
+
import '../../types/api/APIBuff.js';
|
|
7
8
|
import '../../types/api/APICode.js';
|
|
8
9
|
import '../../types/api/APIGiveaway.js';
|
|
9
10
|
import '../../types/api/APIGuildAdvert.js';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
export { az as ProductManager } from '../../index-
|
|
1
|
+
export { az as ProductManager } from '../../index-BlU-ryiZ.js';
|
|
2
2
|
import '../../structures/Collection.js';
|
|
3
3
|
import '../../types/api/APIProduct.js';
|
|
4
4
|
import '../../types/api/APIAdvert.js';
|
|
5
5
|
import '../../types/api/APIBaseChannel.js';
|
|
6
6
|
import '../../types/api/APIBetChannel.js';
|
|
7
|
+
import '../../types/api/APIBuff.js';
|
|
7
8
|
import '../../types/api/APICode.js';
|
|
8
9
|
import '../../types/api/APIGiveaway.js';
|
|
9
10
|
import '../../types/api/APIGuildAdvert.js';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
export { ap as ShopManager } from '../../index-
|
|
1
|
+
export { ap as ShopManager } from '../../index-BlU-ryiZ.js';
|
|
2
2
|
import '../../structures/Collection.js';
|
|
3
3
|
import '../../types/api/APIGuildShop.js';
|
|
4
4
|
import '../../types/api/APIAdvert.js';
|
|
5
5
|
import '../../types/api/APIBaseChannel.js';
|
|
6
6
|
import '../../types/api/APIBetChannel.js';
|
|
7
|
+
import '../../types/api/APIBuff.js';
|
|
7
8
|
import '../../types/api/APICode.js';
|
|
8
9
|
import '../../types/api/APIGiveaway.js';
|
|
9
10
|
import '../../types/api/APIGuildAdvert.js';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
export { Z as GuildTicketManager } from '../../index-
|
|
1
|
+
export { Z as GuildTicketManager } from '../../index-BlU-ryiZ.js';
|
|
2
2
|
import '../../structures/Collection.js';
|
|
3
3
|
import '../../types/api/APIGuildTicket.js';
|
|
4
4
|
import '../../types/api/APIAdvert.js';
|
|
5
5
|
import '../../types/api/APIBaseChannel.js';
|
|
6
6
|
import '../../types/api/APIBetChannel.js';
|
|
7
|
+
import '../../types/api/APIBuff.js';
|
|
7
8
|
import '../../types/api/APICode.js';
|
|
8
9
|
import '../../types/api/APIGiveaway.js';
|
|
9
10
|
import '../../types/api/APIGuildAdvert.js';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export { w as FetchReturn, at as TicketPanelManager } from '../../index-
|
|
1
|
+
export { w as FetchReturn, at as TicketPanelManager } from '../../index-BlU-ryiZ.js';
|
|
2
2
|
import '../../structures/Collection.js';
|
|
3
3
|
import '../../types/api/APIAdvert.js';
|
|
4
4
|
import '../../types/api/APIBaseChannel.js';
|
|
5
5
|
import '../../types/api/APIBetChannel.js';
|
|
6
|
+
import '../../types/api/APIBuff.js';
|
|
6
7
|
import '../../types/api/APICode.js';
|
|
7
8
|
import '../../types/api/APIGiveaway.js';
|
|
8
9
|
import '../../types/api/APIGuildAdvert.js';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
export { av as TournamentManager } from '../../index-
|
|
1
|
+
export { av as TournamentManager } from '../../index-BlU-ryiZ.js';
|
|
2
2
|
import '../../structures/Collection.js';
|
|
3
3
|
import '../../types/api/APITournament.js';
|
|
4
4
|
import '../../types/api/APIAdvert.js';
|
|
5
5
|
import '../../types/api/APIBaseChannel.js';
|
|
6
6
|
import '../../types/api/APIBetChannel.js';
|
|
7
|
+
import '../../types/api/APIBuff.js';
|
|
7
8
|
import '../../types/api/APICode.js';
|
|
8
9
|
import '../../types/api/APIGiveaway.js';
|
|
9
10
|
import '../../types/api/APIGuildAdvert.js';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import '../../structures/Collection.js';
|
|
2
|
-
export { a0 as GuildUserManager } from '../../index-
|
|
2
|
+
export { a0 as GuildUserManager } from '../../index-BlU-ryiZ.js';
|
|
3
3
|
import '../../types/api/APIAdvert.js';
|
|
4
4
|
import '../../types/api/APIBaseChannel.js';
|
|
5
5
|
import '../../types/api/APIBetChannel.js';
|
|
6
|
+
import '../../types/api/APIBuff.js';
|
|
6
7
|
import '../../types/api/APICode.js';
|
|
7
8
|
import '../../types/api/APIGiveaway.js';
|
|
8
9
|
import '../../types/api/APIGuildAdvert.js';
|
|
@@ -64,8 +64,7 @@ class GuildUserManager extends import_base.BaseManager {
|
|
|
64
64
|
if (!user.id) continue;
|
|
65
65
|
if (user instanceof import_GuildUser.GuildUser) user = user.toJSON();
|
|
66
66
|
const _user = this.cache.get(user.id);
|
|
67
|
-
|
|
68
|
-
payloadUsers.push({ ...user, daily, consecutive_wins });
|
|
67
|
+
payloadUsers.push({ ...user });
|
|
69
68
|
}
|
|
70
69
|
const url = this.base_url;
|
|
71
70
|
const response = await this.rest.request({
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
export { ay as VipMemberManager } from '../../index-
|
|
1
|
+
export { ay as VipMemberManager } from '../../index-BlU-ryiZ.js';
|
|
2
2
|
import '../../structures/Collection.js';
|
|
3
3
|
import '../../types/api/APIVipMember.js';
|
|
4
4
|
import '../../types/api/APIAdvert.js';
|
|
5
5
|
import '../../types/api/APIBaseChannel.js';
|
|
6
6
|
import '../../types/api/APIBetChannel.js';
|
|
7
|
+
import '../../types/api/APIBuff.js';
|
|
7
8
|
import '../../types/api/APICode.js';
|
|
8
9
|
import '../../types/api/APIGiveaway.js';
|
|
9
10
|
import '../../types/api/APIGuildAdvert.js';
|
package/dist/rest/REST.d.ts
CHANGED
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import 'events';
|
|
2
|
-
export { R as REST } from '../index-
|
|
2
|
+
export { R as REST } from '../index-BlU-ryiZ.js';
|
|
3
3
|
import '../structures/Collection.js';
|
|
4
4
|
import '../types/api/APIAdvert.js';
|
|
5
5
|
import '../types/api/APIBaseChannel.js';
|
|
6
6
|
import '../types/api/APIBetChannel.js';
|
|
7
|
+
import '../types/api/APIBuff.js';
|
|
7
8
|
import '../types/api/APICode.js';
|
|
8
9
|
import '../types/api/APIGiveaway.js';
|
|
9
10
|
import '../types/api/APIGuildAdvert.js';
|
package/dist/rest/index.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
export { APIEndpoint, APIEndpoints } from './APIEndpoints.js';
|
|
2
2
|
export { Routes } from './Routes.js';
|
|
3
|
-
export { R as REST } from '../index-
|
|
3
|
+
export { R as REST } from '../index-BlU-ryiZ.js';
|
|
4
4
|
import '../structures/Collection.js';
|
|
5
5
|
import '../types/api/APIAdvert.js';
|
|
6
6
|
import '../types/api/APIBaseChannel.js';
|
|
7
7
|
import '../types/api/APIBetChannel.js';
|
|
8
|
+
import '../types/api/APIBuff.js';
|
|
8
9
|
import '../types/api/APICode.js';
|
|
9
10
|
import '../types/api/APIGiveaway.js';
|
|
10
11
|
import '../types/api/APIGuildAdvert.js';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import 'discord-api-types/v10';
|
|
2
|
-
export { j as AutomaticMessage } from '../../index-
|
|
2
|
+
export { j as AutomaticMessage } from '../../index-BlU-ryiZ.js';
|
|
3
3
|
import '../../types/api/APIAdvert.js';
|
|
4
4
|
import '../../types/api/APIBaseChannel.js';
|
|
5
5
|
import '../../types/api/APIBetChannel.js';
|
|
6
|
+
import '../../types/api/APIBuff.js';
|
|
6
7
|
import '../../types/api/APICode.js';
|
|
7
8
|
import '../../types/api/APIGiveaway.js';
|
|
8
9
|
import '../../types/api/APIGuildAdvert.js';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export { x as GuildBet } from '../../index-
|
|
1
|
+
export { x as GuildBet } from '../../index-BlU-ryiZ.js';
|
|
2
2
|
import '../../types/api/APIPlayer.js';
|
|
3
3
|
import '../../types/api/APIBetChannel.js';
|
|
4
4
|
import '../../types/api/APIAdvert.js';
|
|
5
5
|
import '../../types/api/APIBaseChannel.js';
|
|
6
|
+
import '../../types/api/APIBuff.js';
|
|
6
7
|
import '../../types/api/APICode.js';
|
|
7
8
|
import '../../types/api/APIGiveaway.js';
|
|
8
9
|
import '../../types/api/APIGuildAdvert.js';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export { z as GuildBetUser } from '../../index-
|
|
1
|
+
export { z as GuildBetUser } from '../../index-BlU-ryiZ.js';
|
|
2
2
|
import '../../types/api/APIAdvert.js';
|
|
3
3
|
import '../../types/api/APIBaseChannel.js';
|
|
4
4
|
import '../../types/api/APIBetChannel.js';
|
|
5
|
+
import '../../types/api/APIBuff.js';
|
|
5
6
|
import '../../types/api/APICode.js';
|
|
6
7
|
import '../../types/api/APIGiveaway.js';
|
|
7
8
|
import '../../types/api/APIGuildAdvert.js';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export { G as Guild } from '../../index-
|
|
1
|
+
export { G as Guild } from '../../index-BlU-ryiZ.js';
|
|
2
2
|
import '../Collection.js';
|
|
3
|
+
import '../../types/api/APIBuff.js';
|
|
3
4
|
import '../../types/api/APITimer.js';
|
|
4
5
|
import '../../types/api/APIGuildPermissions.js';
|
|
5
6
|
import '../../types/api/APIGuildAdvert.js';
|
|
@@ -36,6 +36,7 @@ var import_TicketPanelManager = require("../../managers/ticketpanel/TicketPanelM
|
|
|
36
36
|
var import_TournamentManager = require("../../managers/tournament/TournamentManager");
|
|
37
37
|
var import_Routes = require("../../rest/Routes");
|
|
38
38
|
var import_Assertion = require("../../utils/Assertion");
|
|
39
|
+
var import_randomKeyGenerator = require("../../utils/randomKeyGenerator");
|
|
39
40
|
var import_Collection = require("../Collection");
|
|
40
41
|
var _Guild_instances, update_fn;
|
|
41
42
|
class Guild {
|
|
@@ -101,6 +102,7 @@ class Guild {
|
|
|
101
102
|
__publicField(this, "timers");
|
|
102
103
|
__publicField(this, "codes");
|
|
103
104
|
__publicField(this, "coin_symbol");
|
|
105
|
+
__publicField(this, "buffs");
|
|
104
106
|
this.data = data;
|
|
105
107
|
this.rest = rest;
|
|
106
108
|
this.id = data?.id;
|
|
@@ -197,6 +199,14 @@ class Guild {
|
|
|
197
199
|
expiresAt: new Date(_timer.expiresAt)
|
|
198
200
|
});
|
|
199
201
|
}
|
|
202
|
+
this.buffs = new import_Collection.Collection();
|
|
203
|
+
for (let buff of data?.buffs || []) {
|
|
204
|
+
this.buffs.set(buff._id, {
|
|
205
|
+
...buff,
|
|
206
|
+
createdAt: new Date(buff.createdAt),
|
|
207
|
+
updatedAt: new Date(buff.updatedAt)
|
|
208
|
+
});
|
|
209
|
+
}
|
|
200
210
|
}
|
|
201
211
|
async _start() {
|
|
202
212
|
await Promise.all([
|
|
@@ -554,6 +564,37 @@ class Guild {
|
|
|
554
564
|
});
|
|
555
565
|
return __privateMethod(this, _Guild_instances, update_fn).call(this, response);
|
|
556
566
|
}
|
|
567
|
+
async createBuff(data) {
|
|
568
|
+
if (!data.admin_id) return;
|
|
569
|
+
const buffer = this.buffs.find((b) => b.role_id === data.role_id);
|
|
570
|
+
if (buffer) this.buffs.delete(buffer._id);
|
|
571
|
+
const payload = {
|
|
572
|
+
...data,
|
|
573
|
+
_id: (0, import_randomKeyGenerator.randomKeyGenerator)(24, "hex").toLowerCase(),
|
|
574
|
+
percentage: Math.floor(data?.percentage) || 5,
|
|
575
|
+
createdAt: /* @__PURE__ */ new Date(),
|
|
576
|
+
updatedAt: /* @__PURE__ */ new Date()
|
|
577
|
+
};
|
|
578
|
+
this.buffs.set(payload._id, payload);
|
|
579
|
+
const route = import_Routes.Routes.guilds.get(this.id);
|
|
580
|
+
const response = await this.rest.request({
|
|
581
|
+
payload: { buffs: this.buffs.toArray() },
|
|
582
|
+
url: route,
|
|
583
|
+
method: "PATCH"
|
|
584
|
+
});
|
|
585
|
+
await __privateMethod(this, _Guild_instances, update_fn).call(this, response);
|
|
586
|
+
return payload;
|
|
587
|
+
}
|
|
588
|
+
async deleteBuff(id) {
|
|
589
|
+
this.buffs.delete(id);
|
|
590
|
+
const route = import_Routes.Routes.guilds.get(this.id);
|
|
591
|
+
const response = await this.rest.request({
|
|
592
|
+
payload: { buffs: this.buffs.toArray() },
|
|
593
|
+
url: route,
|
|
594
|
+
method: "PATCH"
|
|
595
|
+
});
|
|
596
|
+
return __privateMethod(this, _Guild_instances, update_fn).call(this, response);
|
|
597
|
+
}
|
|
557
598
|
toJSON() {
|
|
558
599
|
return {
|
|
559
600
|
adverts: this.adverts,
|
|
@@ -577,6 +618,7 @@ class Guild {
|
|
|
577
618
|
scores: this.scores,
|
|
578
619
|
status: this.status,
|
|
579
620
|
timers: this.timers.toArray(),
|
|
621
|
+
buffs: this.buffs.toArray(),
|
|
580
622
|
tickets_configuration: this.tickets_configuration,
|
|
581
623
|
updatedAt: this.updatedAt,
|
|
582
624
|
webhook_urls: this.webhook_urls
|
|
@@ -632,6 +674,18 @@ update_fn = function(data) {
|
|
|
632
674
|
}
|
|
633
675
|
continue;
|
|
634
676
|
}
|
|
677
|
+
if (key === "buffs") {
|
|
678
|
+
}
|
|
679
|
+
}
|
|
680
|
+
if ("buffs" in data) {
|
|
681
|
+
this.buffs = new import_Collection.Collection();
|
|
682
|
+
for (let buff of data?.buffs || []) {
|
|
683
|
+
this.buffs.set(buff._id, {
|
|
684
|
+
...buff,
|
|
685
|
+
createdAt: new Date(buff.createdAt),
|
|
686
|
+
updatedAt: new Date(buff.updatedAt)
|
|
687
|
+
});
|
|
688
|
+
}
|
|
635
689
|
}
|
|
636
690
|
this.updatedAt = /* @__PURE__ */ new Date();
|
|
637
691
|
this.rest.guilds.cache.set(this.id, this);
|
|
@@ -1,8 +1,9 @@
|
|
|
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-
|
|
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';
|
|
2
2
|
export { Collection } from './Collection.js';
|
|
3
3
|
import '../types/api/APIAdvert.js';
|
|
4
4
|
import '../types/api/APIBaseChannel.js';
|
|
5
5
|
import '../types/api/APIBetChannel.js';
|
|
6
|
+
import '../types/api/APIBuff.js';
|
|
6
7
|
import '../types/api/APICode.js';
|
|
7
8
|
import '../types/api/APIGiveaway.js';
|
|
8
9
|
import '../types/api/APIGuildAdvert.js';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export { a1 as LogEntry } from '../../index-
|
|
1
|
+
export { a1 as LogEntry } from '../../index-BlU-ryiZ.js';
|
|
2
2
|
import '../../types/api/APILogEntry.js';
|
|
3
3
|
import '../../types/api/APIAdvert.js';
|
|
4
4
|
import '../../types/api/APIBaseChannel.js';
|
|
5
5
|
import '../../types/api/APIBetChannel.js';
|
|
6
|
+
import '../../types/api/APIBuff.js';
|
|
6
7
|
import '../../types/api/APICode.js';
|
|
7
8
|
import '../../types/api/APIGiveaway.js';
|
|
8
9
|
import '../../types/api/APIGuildAdvert.js';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export { K as GuildMatch } from '../../index-
|
|
1
|
+
export { K as GuildMatch } from '../../index-BlU-ryiZ.js';
|
|
2
2
|
import '../../types/api/APIPlayer.js';
|
|
3
3
|
import '../../types/api/APIBaseChannel.js';
|
|
4
4
|
import '../../types/api/APIAdvert.js';
|
|
5
5
|
import '../../types/api/APIBetChannel.js';
|
|
6
|
+
import '../../types/api/APIBuff.js';
|
|
6
7
|
import '../../types/api/APICode.js';
|
|
7
8
|
import '../../types/api/APIGiveaway.js';
|
|
8
9
|
import '../../types/api/APIGuildAdvert.js';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export { O as GuildMediator } from '../../index-
|
|
1
|
+
export { O as GuildMediator } from '../../index-BlU-ryiZ.js';
|
|
2
2
|
import '../../types/api/APIGuildMediator.js';
|
|
3
3
|
import '../../types/api/APIAdvert.js';
|
|
4
4
|
import '../../types/api/APIBaseChannel.js';
|
|
5
5
|
import '../../types/api/APIBetChannel.js';
|
|
6
|
+
import '../../types/api/APIBuff.js';
|
|
6
7
|
import '../../types/api/APICode.js';
|
|
7
8
|
import '../../types/api/APIGiveaway.js';
|
|
8
9
|
import '../../types/api/APIGuildAdvert.js';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export { a9 as MinesGame } from '../../index-
|
|
1
|
+
export { a9 as MinesGame } from '../../index-BlU-ryiZ.js';
|
|
2
2
|
import '../../types/api/APIMinesGame.js';
|
|
3
3
|
import '../../types/api/APIAdvert.js';
|
|
4
4
|
import '../../types/api/APIBaseChannel.js';
|
|
5
5
|
import '../../types/api/APIBetChannel.js';
|
|
6
|
+
import '../../types/api/APIBuff.js';
|
|
6
7
|
import '../../types/api/APICode.js';
|
|
7
8
|
import '../../types/api/APIGiveaway.js';
|
|
8
9
|
import '../../types/api/APIGuildAdvert.js';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
export { ag as Product } from '../../index-
|
|
1
|
+
export { ag as Product } from '../../index-BlU-ryiZ.js';
|
|
2
2
|
import '../../types/api/APIPlayer.js';
|
|
3
3
|
import '../../types/api/APIProduct.js';
|
|
4
4
|
import '../../types/api/APIAdvert.js';
|
|
5
5
|
import '../../types/api/APIBaseChannel.js';
|
|
6
6
|
import '../../types/api/APIBetChannel.js';
|
|
7
|
+
import '../../types/api/APIBuff.js';
|
|
7
8
|
import '../../types/api/APICode.js';
|
|
8
9
|
import '../../types/api/APIGiveaway.js';
|
|
9
10
|
import '../../types/api/APIGuildAdvert.js';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import 'discord-api-types/v10';
|
|
2
|
-
export { ao as Shop } from '../../index-
|
|
2
|
+
export { ao as Shop } from '../../index-BlU-ryiZ.js';
|
|
3
3
|
import '../../types/api/APIGuildShop.js';
|
|
4
4
|
import '../../types/api/APIAdvert.js';
|
|
5
5
|
import '../../types/api/APIBaseChannel.js';
|
|
6
6
|
import '../../types/api/APIBetChannel.js';
|
|
7
|
+
import '../../types/api/APIBuff.js';
|
|
7
8
|
import '../../types/api/APICode.js';
|
|
8
9
|
import '../../types/api/APIGiveaway.js';
|
|
9
10
|
import '../../types/api/APIGuildAdvert.js';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export { X as GuildTicket } from '../../index-
|
|
1
|
+
export { X as GuildTicket } from '../../index-BlU-ryiZ.js';
|
|
2
2
|
import '../../types/api/APIGuildTicket.js';
|
|
3
3
|
import '../../types/api/APIAdvert.js';
|
|
4
4
|
import '../../types/api/APIBaseChannel.js';
|
|
5
5
|
import '../../types/api/APIBetChannel.js';
|
|
6
|
+
import '../../types/api/APIBuff.js';
|
|
6
7
|
import '../../types/api/APICode.js';
|
|
7
8
|
import '../../types/api/APIGiveaway.js';
|
|
8
9
|
import '../../types/api/APIGuildAdvert.js';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import 'discord-api-types/v10';
|
|
2
|
-
export { as as TicketPanel } from '../../index-
|
|
2
|
+
export { as as TicketPanel } from '../../index-BlU-ryiZ.js';
|
|
3
3
|
import '../../types/api/APIAdvert.js';
|
|
4
4
|
import '../../types/api/APIBaseChannel.js';
|
|
5
5
|
import '../../types/api/APIBetChannel.js';
|
|
6
|
+
import '../../types/api/APIBuff.js';
|
|
6
7
|
import '../../types/api/APICode.js';
|
|
7
8
|
import '../../types/api/APIGiveaway.js';
|
|
8
9
|
import '../../types/api/APIGuildAdvert.js';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
export { au as Tournament } from '../../index-
|
|
1
|
+
export { au as Tournament } from '../../index-BlU-ryiZ.js';
|
|
2
2
|
import '../../types/api/APIPlayer.js';
|
|
3
3
|
import '../../types/api/APITournament.js';
|
|
4
4
|
import '../../types/api/APIAdvert.js';
|
|
5
5
|
import '../../types/api/APIBaseChannel.js';
|
|
6
6
|
import '../../types/api/APIBetChannel.js';
|
|
7
|
+
import '../../types/api/APIBuff.js';
|
|
7
8
|
import '../../types/api/APICode.js';
|
|
8
9
|
import '../../types/api/APIGiveaway.js';
|
|
9
10
|
import '../../types/api/APIGuildAdvert.js';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export { $ as GuildUser } from '../../index-
|
|
1
|
+
export { $ as GuildUser } from '../../index-BlU-ryiZ.js';
|
|
2
2
|
import '../../types/api/APIAdvert.js';
|
|
3
3
|
import '../../types/api/APIBaseChannel.js';
|
|
4
4
|
import '../../types/api/APIBetChannel.js';
|
|
5
|
+
import '../../types/api/APIBuff.js';
|
|
5
6
|
import '../../types/api/APICode.js';
|
|
6
7
|
import '../../types/api/APIGiveaway.js';
|
|
7
8
|
import '../../types/api/APIGuildAdvert.js';
|
|
@@ -31,7 +31,6 @@ __export(GuildUser_exports, {
|
|
|
31
31
|
module.exports = __toCommonJS(GuildUser_exports);
|
|
32
32
|
var import_Routes = require("../../rest/Routes");
|
|
33
33
|
var import_api = require("../../types/api");
|
|
34
|
-
var import_isSameDayUTC = require("../../utils/isSameDayUTC");
|
|
35
34
|
var import_clamp0 = require("../../utils/clamp0");
|
|
36
35
|
var _GuildUser_instances, update_fn;
|
|
37
36
|
const _GuildUser = class _GuildUser {
|
|
@@ -368,9 +367,6 @@ const _GuildUser = class _GuildUser {
|
|
|
368
367
|
if (!data?.type) data.type = "add";
|
|
369
368
|
const url = import_Routes.Routes.guilds.users.get(this.manager.guild.id, this.id);
|
|
370
369
|
let payload = {};
|
|
371
|
-
const wrapped = this.userDailyWrapper(data);
|
|
372
|
-
payload["daily"] = wrapped.daily;
|
|
373
|
-
payload["consecutive_wins"] = wrapped.consecutive_wins;
|
|
374
370
|
const numericFields = [
|
|
375
371
|
"wins",
|
|
376
372
|
"points",
|
|
@@ -468,46 +464,6 @@ const _GuildUser = class _GuildUser {
|
|
|
468
464
|
wins: this.wins
|
|
469
465
|
};
|
|
470
466
|
}
|
|
471
|
-
userDailyWrapper(user) {
|
|
472
|
-
const now = /* @__PURE__ */ new Date();
|
|
473
|
-
const sameDay = !!this.daily?.date && (0, import_isSameDayUTC.isSameDateUTC)(this.daily.date, now);
|
|
474
|
-
const prev = this.daily ?? {
|
|
475
|
-
points: 0,
|
|
476
|
-
wins: 0,
|
|
477
|
-
coins: 0,
|
|
478
|
-
losses: 0,
|
|
479
|
-
mvps: 0,
|
|
480
|
-
bets: 0,
|
|
481
|
-
date: now
|
|
482
|
-
};
|
|
483
|
-
const inc = {
|
|
484
|
-
points: user?.points || 0,
|
|
485
|
-
wins: user?.wins ?? 0,
|
|
486
|
-
coins: user?.coins || 0,
|
|
487
|
-
losses: user?.losses || 0,
|
|
488
|
-
mvps: user?.mvps || 0,
|
|
489
|
-
bets: user?.daily?.bets || 0
|
|
490
|
-
};
|
|
491
|
-
const daily = {
|
|
492
|
-
points: (0, import_clamp0.clamp0)((sameDay ? prev.points : 0) + inc.points),
|
|
493
|
-
wins: (0, import_clamp0.clamp0)((sameDay ? prev.wins : 0) + inc.wins),
|
|
494
|
-
coins: (0, import_clamp0.clamp0)((sameDay ? prev.coins : 0) + inc.coins),
|
|
495
|
-
losses: (0, import_clamp0.clamp0)((sameDay ? prev.losses : 0) + inc.losses),
|
|
496
|
-
mvps: (0, import_clamp0.clamp0)((sameDay ? prev.mvps : 0) + inc.mvps),
|
|
497
|
-
bets: (0, import_clamp0.clamp0)((sameDay ? prev.bets : 0) + inc.bets),
|
|
498
|
-
date: now
|
|
499
|
-
};
|
|
500
|
-
const hasGainedWins = inc.wins > 0;
|
|
501
|
-
const hasLostToday = inc.losses > 0;
|
|
502
|
-
let consecutive = user?.consecutive_wins ?? this.consecutive_wins ?? 0;
|
|
503
|
-
if (hasLostToday) consecutive = 0;
|
|
504
|
-
else if (hasGainedWins) consecutive += 1;
|
|
505
|
-
return {
|
|
506
|
-
...user,
|
|
507
|
-
daily,
|
|
508
|
-
consecutive_wins: consecutive
|
|
509
|
-
};
|
|
510
|
-
}
|
|
511
467
|
};
|
|
512
468
|
_GuildUser_instances = new WeakSet();
|
|
513
469
|
update_fn = function(data) {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
export { ax as VipMember } from '../../index-
|
|
1
|
+
export { ax as VipMember } from '../../index-BlU-ryiZ.js';
|
|
2
2
|
import '../../types/api/APIVipMember.js';
|
|
3
3
|
import '../../types/api/APIAdvert.js';
|
|
4
4
|
import '../../types/api/APIBaseChannel.js';
|
|
5
5
|
import '../../types/api/APIBetChannel.js';
|
|
6
|
+
import '../../types/api/APIBuff.js';
|
|
6
7
|
import '../../types/api/APICode.js';
|
|
7
8
|
import '../../types/api/APIGiveaway.js';
|
|
8
9
|
import '../../types/api/APIGuildAdvert.js';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import '../structures/Collection.js';
|
|
2
|
-
export { aj as RequestOptions, ak as RestEvents } from '../index-
|
|
2
|
+
export { aj as RequestOptions, ak as RestEvents } from '../index-BlU-ryiZ.js';
|
|
3
3
|
import './api/APIAdvert.js';
|
|
4
4
|
import './api/APIBaseChannel.js';
|
|
5
5
|
import './api/APIBetChannel.js';
|
|
6
|
+
import './api/APIBuff.js';
|
|
6
7
|
import './api/APICode.js';
|
|
7
8
|
import './api/APIGiveaway.js';
|
|
8
9
|
import './api/APIGuildAdvert.js';
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import 'discord-api-types/v10';
|
|
2
|
-
export { A as APIAutomaticMessage } from '../../index-
|
|
2
|
+
export { A as APIAutomaticMessage } from '../../index-BlU-ryiZ.js';
|
|
3
3
|
import './APIAdvert.js';
|
|
4
4
|
import './APIBaseChannel.js';
|
|
5
5
|
import './APIBetChannel.js';
|
|
6
|
+
import './APIBuff.js';
|
|
6
7
|
import './APICode.js';
|
|
7
8
|
import './APIGiveaway.js';
|
|
8
9
|
import './APIGuildAdvert.js';
|
|
@@ -0,0 +1,16 @@
|
|
|
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
|
+
var APIBuff_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(APIBuff_exports);
|
|
@@ -1,4 +1,5 @@
|
|
|
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-
|
|
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';
|
|
2
|
+
import './APIBuff.js';
|
|
2
3
|
import './APIGuildPermissions.js';
|
|
3
4
|
import './APITimer.js';
|
|
4
5
|
import './APIGuildAdvert.js';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
export { b as APIGuildBet, q as BetChannelTypes, r as BetQueue } from '../../index-
|
|
1
|
+
export { b as APIGuildBet, q as BetChannelTypes, r as BetQueue } from '../../index-BlU-ryiZ.js';
|
|
2
2
|
import './APIBetChannel.js';
|
|
3
3
|
import './APIMessage.js';
|
|
4
4
|
import './APIPlayer.js';
|
|
5
5
|
import './APIAdvert.js';
|
|
6
6
|
import './APIBaseChannel.js';
|
|
7
|
+
import './APIBuff.js';
|
|
7
8
|
import './APICode.js';
|
|
8
9
|
import './APIGiveaway.js';
|
|
9
10
|
import './APIGuildAdvert.js';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export { c as APIGuildBetUser } from '../../index-
|
|
1
|
+
export { c as APIGuildBetUser } from '../../index-BlU-ryiZ.js';
|
|
2
2
|
import './APIAdvert.js';
|
|
3
3
|
import './APIBaseChannel.js';
|
|
4
4
|
import './APIBetChannel.js';
|
|
5
|
+
import './APIBuff.js';
|
|
5
6
|
import './APICode.js';
|
|
6
7
|
import './APIGiveaway.js';
|
|
7
8
|
import './APIGuildAdvert.js';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export { d as APIGuildGroupedChannel } from '../../index-
|
|
1
|
+
export { d as APIGuildGroupedChannel } from '../../index-BlU-ryiZ.js';
|
|
2
2
|
import './APIAdvert.js';
|
|
3
3
|
import './APIBaseChannel.js';
|
|
4
4
|
import './APIBetChannel.js';
|
|
5
|
+
import './APIBuff.js';
|
|
5
6
|
import './APICode.js';
|
|
6
7
|
import './APIGiveaway.js';
|
|
7
8
|
import './APIGuildAdvert.js';
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
export { e as APIGuildMatch, L as GuildMatchChannelsType, N as GuildMatchMessagesType, a7 as MatchSelection } from '../../index-
|
|
1
|
+
export { e as APIGuildMatch, L as GuildMatchChannelsType, N as GuildMatchMessagesType, a7 as MatchSelection } from '../../index-BlU-ryiZ.js';
|
|
2
2
|
import './APIPlayer.js';
|
|
3
3
|
import './APIBaseChannel.js';
|
|
4
4
|
import './APIMessage.js';
|
|
5
5
|
import './APIAdvert.js';
|
|
6
6
|
import './APIBetChannel.js';
|
|
7
|
+
import './APIBuff.js';
|
|
7
8
|
import './APICode.js';
|
|
8
9
|
import './APIGiveaway.js';
|
|
9
10
|
import './APIGuildAdvert.js';
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
export { f as APIGuildUser, ah as Profile } from '../../index-
|
|
1
|
+
export { f as APIGuildUser, ah as Profile } from '../../index-BlU-ryiZ.js';
|
|
2
2
|
import './APIAdvert.js';
|
|
3
3
|
import './APIBaseChannel.js';
|
|
4
4
|
import './APIBetChannel.js';
|
|
5
|
+
import './APIBuff.js';
|
|
5
6
|
import './APICode.js';
|
|
6
7
|
import './APIGiveaway.js';
|
|
7
8
|
import './APIGuildAdvert.js';
|
|
@@ -6,6 +6,16 @@ declare enum LogEntryTypes {
|
|
|
6
6
|
MatchClosed = "match_closed",
|
|
7
7
|
UserUpdated = "user_updated",
|
|
8
8
|
UserManaged = "user_managed",
|
|
9
|
+
UserPunished = "user_punished",
|
|
10
|
+
UserWins = "user_wins",
|
|
11
|
+
UserLosses = "user_losses",
|
|
12
|
+
UserPoints = "user_points",
|
|
13
|
+
UserMvps = "user_mvps",
|
|
14
|
+
UserCreations = "user_creations",
|
|
15
|
+
UserCredits = "user_credits",
|
|
16
|
+
RoulleteSpinsGained = "roullete_spins_gained",
|
|
17
|
+
RoulleteSpinsUsed = "roullete_spins_used",
|
|
18
|
+
ProductRedeemed = "shop_product_redeemed",
|
|
9
19
|
BetManaged = "bet_managed",
|
|
10
20
|
BetMediador = "bet_mediador",
|
|
11
21
|
BetInitiated = "bet_initiated",
|
|
@@ -29,6 +29,16 @@ var LogEntryTypes = /* @__PURE__ */ ((LogEntryTypes2) => {
|
|
|
29
29
|
LogEntryTypes2["MatchClosed"] = "match_closed";
|
|
30
30
|
LogEntryTypes2["UserUpdated"] = "user_updated";
|
|
31
31
|
LogEntryTypes2["UserManaged"] = "user_managed";
|
|
32
|
+
LogEntryTypes2["UserPunished"] = "user_punished";
|
|
33
|
+
LogEntryTypes2["UserWins"] = "user_wins";
|
|
34
|
+
LogEntryTypes2["UserLosses"] = "user_losses";
|
|
35
|
+
LogEntryTypes2["UserPoints"] = "user_points";
|
|
36
|
+
LogEntryTypes2["UserMvps"] = "user_mvps";
|
|
37
|
+
LogEntryTypes2["UserCreations"] = "user_creations";
|
|
38
|
+
LogEntryTypes2["UserCredits"] = "user_credits";
|
|
39
|
+
LogEntryTypes2["RoulleteSpinsGained"] = "roullete_spins_gained";
|
|
40
|
+
LogEntryTypes2["RoulleteSpinsUsed"] = "roullete_spins_used";
|
|
41
|
+
LogEntryTypes2["ProductRedeemed"] = "shop_product_redeemed";
|
|
32
42
|
LogEntryTypes2["BetManaged"] = "bet_managed";
|
|
33
43
|
LogEntryTypes2["BetMediador"] = "bet_mediador";
|
|
34
44
|
LogEntryTypes2["BetInitiated"] = "bet_initiated";
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import 'discord-api-types/v10';
|
|
2
|
-
export { h as APITicketPanel } from '../../index-
|
|
2
|
+
export { h as APITicketPanel } from '../../index-BlU-ryiZ.js';
|
|
3
3
|
import './APIAdvert.js';
|
|
4
4
|
import './APIBaseChannel.js';
|
|
5
5
|
import './APIBetChannel.js';
|
|
6
|
+
import './APIBuff.js';
|
|
6
7
|
import './APICode.js';
|
|
7
8
|
import './APIGiveaway.js';
|
|
8
9
|
import './APIGuildAdvert.js';
|
|
@@ -1,7 +1,8 @@
|
|
|
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-
|
|
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';
|
|
3
3
|
export { APIBaseChannel } from './APIBaseChannel.js';
|
|
4
4
|
export { APIBetChannel } from './APIBetChannel.js';
|
|
5
|
+
export { APIBuff } from './APIBuff.js';
|
|
5
6
|
export { APICode } from './APICode.js';
|
|
6
7
|
export { APIGiveaway, GiveawayMessage, GiveawayWinners } from './APIGiveaway.js';
|
|
7
8
|
export { APIGuildAdvert } from './APIGuildAdvert.js';
|
package/dist/types/api/index.js
CHANGED
|
@@ -30,6 +30,7 @@ __reExport(api_exports, require("./APIAdvert"), module.exports);
|
|
|
30
30
|
__reExport(api_exports, require("./APIAutomaticMessage"), module.exports);
|
|
31
31
|
__reExport(api_exports, require("./APIBaseChannel"), module.exports);
|
|
32
32
|
__reExport(api_exports, require("./APIBetChannel"), module.exports);
|
|
33
|
+
__reExport(api_exports, require("./APIBuff"), module.exports);
|
|
33
34
|
__reExport(api_exports, require("./APICode"), module.exports);
|
|
34
35
|
__reExport(api_exports, require("./APIGiveaway"), module.exports);
|
|
35
36
|
__reExport(api_exports, require("./APIGuild"), module.exports);
|
|
@@ -100,6 +101,7 @@ var STATES = /* @__PURE__ */ ((STATES2) => {
|
|
|
100
101
|
...require("./APIAutomaticMessage"),
|
|
101
102
|
...require("./APIBaseChannel"),
|
|
102
103
|
...require("./APIBetChannel"),
|
|
104
|
+
...require("./APIBuff"),
|
|
103
105
|
...require("./APICode"),
|
|
104
106
|
...require("./APIGiveaway"),
|
|
105
107
|
...require("./APIGuild"),
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
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-
|
|
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';
|
|
2
2
|
export { APIAdvert } from './api/APIAdvert.js';
|
|
3
3
|
export { APIBaseChannel } from './api/APIBaseChannel.js';
|
|
4
4
|
export { APIBetChannel } from './api/APIBetChannel.js';
|
|
5
|
+
export { APIBuff } from './api/APIBuff.js';
|
|
5
6
|
export { APICode } from './api/APICode.js';
|
|
6
7
|
export { APIGiveaway, GiveawayMessage, GiveawayWinners } from './api/APIGiveaway.js';
|
|
7
8
|
export { APIGuildAdvert } from './api/APIGuildAdvert.js';
|