@duque.edits/sdk 0.1.6 → 0.1.8
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/managers/base.js +0 -6
- package/dist/managers/buffer/BufferManager.js +2 -2
- package/dist/managers/guild/GuildManager.js +6 -4
- package/dist/managers/index.js +5 -1
- package/dist/managers/logs/LogManager.js +60 -0
- package/dist/managers/match/GuildMatchManager.js +1 -1
- package/dist/managers/message/MessagesManager.js +1 -1
- package/dist/managers/minesgame/MinesGameManager.js +67 -0
- package/dist/managers/ticket/TicketManager.js +3 -3
- package/dist/managers/user/GuildUserManager.js +13 -21
- package/dist/managers/vipmember/VipMemberManager.js +2 -2
- package/dist/rest/REST.js +16 -17
- package/dist/rest/Routes.js +3 -3
- package/dist/structures/Collection.js +2 -2
- package/dist/structures/guild/Guild.js +142 -75
- package/dist/structures/index.js +1 -0
- package/dist/structures/match/GuildMatch.js +32 -74
- package/dist/structures/minesgame/MinesGame.js +72 -0
- package/dist/structures/user/GuildUser.js +16 -13
- package/dist/types/api/APIGuild.js +16 -0
- package/dist/types/api/APIGuildMatch.js +9 -0
- package/dist/types/api/APILogEntry.js +2 -0
- package/dist/types/api/APIMinesGame.js +2 -0
- package/dist/types/api/index.js +4 -4
- package/package.json +6 -4
- package/types/managers/base.d.ts +0 -3
- package/types/managers/index.d.ts +5 -1
- package/types/managers/logs/LogManager.d.ts +11 -0
- package/types/managers/minesgame/MinesGameManager.d.ts +17 -0
- package/types/managers/ticket/TicketManager.d.ts +1 -1
- package/types/managers/user/GuildUserManager.d.ts +2 -3
- package/types/managers/vipmember/VipMemberManager.d.ts +1 -2
- package/types/rest/REST.d.ts +10 -7
- package/types/structures/guild/Guild.d.ts +16 -32
- package/types/structures/index.d.ts +1 -0
- package/types/structures/match/GuildMatch.d.ts +4 -7
- package/types/structures/minesgame/MinesGame.d.ts +23 -0
- package/types/structures/ticket/Ticket.d.ts +3 -3
- package/types/structures/user/GuildUser.d.ts +3 -4
- package/types/types/api/APIGuild.d.ts +22 -38
- package/types/types/api/APIGuildGroupedChannel.d.ts +2 -5
- package/types/types/api/APIGuildMatch.d.ts +6 -0
- package/types/types/api/APIGuildUser.d.ts +7 -2
- package/types/types/api/APILogEntry.d.ts +9 -0
- package/types/types/api/APIMessage.d.ts +2 -1
- package/types/types/api/APIMinesGame.d.ts +13 -0
- package/types/types/api/index.d.ts +6 -15
|
@@ -8,17 +8,6 @@ export interface APITicketCategory {
|
|
|
8
8
|
/** Category's alias */
|
|
9
9
|
alias: string;
|
|
10
10
|
}
|
|
11
|
-
export interface Blacklisted {
|
|
12
|
-
/** Blacklist's id */
|
|
13
|
-
id: string;
|
|
14
|
-
/** Blacklist added by */
|
|
15
|
-
addedBy: string;
|
|
16
|
-
/** Guild Creation Date */
|
|
17
|
-
createdAt: Date;
|
|
18
|
-
/** Guild Updated Date */
|
|
19
|
-
updatedAt: Date;
|
|
20
|
-
}
|
|
21
|
-
export type GuildBlacklist = Blacklisted[];
|
|
22
11
|
export interface LogMessage {
|
|
23
12
|
/** The message's content */
|
|
24
13
|
content: string | Buffer<any>;
|
|
@@ -61,6 +50,8 @@ export type Accessory = {
|
|
|
61
50
|
addedBy: string;
|
|
62
51
|
/** When accessory added */
|
|
63
52
|
when: Date;
|
|
53
|
+
createdAt: Date;
|
|
54
|
+
updatedAt: Date;
|
|
64
55
|
/** If accessory has expired */
|
|
65
56
|
expired: boolean;
|
|
66
57
|
};
|
|
@@ -135,22 +126,22 @@ export declare enum STATES {
|
|
|
135
126
|
export * from "./APIBaseChannel";
|
|
136
127
|
export * from "./APIBetChannel";
|
|
137
128
|
export * from "./APIBetMessage";
|
|
129
|
+
export * from "./APIGiveaway";
|
|
138
130
|
export * from "./APIGuild";
|
|
139
131
|
export * from "./APIGuildBet";
|
|
140
132
|
export * from "./APIGuildBetUser";
|
|
141
133
|
export * from "./APIGuildChannel";
|
|
142
|
-
export * from "./APIGuildEmoji";
|
|
143
134
|
export * from "./APIGuildGroupedChannel";
|
|
144
135
|
export * from "./APIGuildMatch";
|
|
145
136
|
export * from "./APIGuildMediator";
|
|
146
137
|
export * from "./APIGuildPermissions";
|
|
147
|
-
export * from "./APIGuildRole";
|
|
148
138
|
export * from "./APIGuildShop";
|
|
149
139
|
export * from "./APIGuildTicket";
|
|
150
140
|
export * from "./APIGuildUser";
|
|
141
|
+
export * from "./APILogEntry";
|
|
142
|
+
export * from "./APILogMessage";
|
|
151
143
|
export * from "./APIMessage";
|
|
144
|
+
export * from "./APIMinesGame";
|
|
152
145
|
export * from "./APIPlayer";
|
|
153
146
|
export * from "./APIProduct";
|
|
154
147
|
export * from "./APIVipMember";
|
|
155
|
-
export * from "./APIGiveaway";
|
|
156
|
-
export * from "./APILogMessage";
|