disgroove 1.2.8-dev.cdf6a54 → 1.2.8-dev.f37b4da
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/Client.js +18 -12
- package/dist/Client.js.map +1 -1
- package/dist/constants.d.ts +5 -0
- package/dist/constants.js +5 -0
- package/dist/constants.js.map +1 -1
- package/dist/gateway/Shard.js +9 -9
- package/dist/gateway/Shard.js.map +1 -1
- package/dist/rest/REST.d.ts +16 -5
- package/dist/rest/REST.js +10 -10
- package/dist/rest/REST.js.map +1 -1
- package/dist/rest/RequestsManager.d.ts +3 -1
- package/dist/rest/RequestsManager.js +9 -8
- package/dist/rest/RequestsManager.js.map +1 -1
- package/dist/structures/Application.d.ts +1 -1
- package/dist/structures/Application.js +34 -13
- package/dist/structures/Application.js.map +1 -1
- package/dist/structures/ApplicationCommand.js +3 -3
- package/dist/structures/ApplicationCommand.js.map +1 -1
- package/dist/structures/AutoModerationRule.js +2 -2
- package/dist/structures/AutoModerationRule.js.map +1 -1
- package/dist/structures/Channel.js +43 -31
- package/dist/structures/Channel.js.map +1 -1
- package/dist/structures/Emoji.js +2 -2
- package/dist/structures/Emoji.js.map +1 -1
- package/dist/structures/Guild.js +95 -69
- package/dist/structures/Guild.js.map +1 -1
- package/dist/structures/GuildMember.js +6 -6
- package/dist/structures/GuildMember.js.map +1 -1
- package/dist/structures/GuildScheduledEvent.js +7 -5
- package/dist/structures/GuildScheduledEvent.js.map +1 -1
- package/dist/structures/GuildTemplate.js +1 -1
- package/dist/structures/GuildTemplate.js.map +1 -1
- package/dist/structures/Integration.js +1 -1
- package/dist/structures/Integration.js.map +1 -1
- package/dist/structures/Interaction.js +16 -10
- package/dist/structures/Interaction.js.map +1 -1
- package/dist/structures/Invite.js +1 -1
- package/dist/structures/Invite.js.map +1 -1
- package/dist/structures/Message.js +9 -7
- package/dist/structures/Message.js.map +1 -1
- package/dist/structures/PartialApplication.d.ts +1 -1
- package/dist/structures/PartialApplication.js +34 -13
- package/dist/structures/PartialApplication.js.map +1 -1
- package/dist/structures/Role.js +2 -2
- package/dist/structures/Role.js.map +1 -1
- package/dist/structures/StageInstance.js +2 -2
- package/dist/structures/StageInstance.js.map +1 -1
- package/dist/structures/Sticker.js +2 -2
- package/dist/structures/Sticker.js.map +1 -1
- package/dist/structures/User.js +4 -4
- package/dist/structures/User.js.map +1 -1
- package/dist/structures/Webhook.js +43 -26
- package/dist/structures/Webhook.js.map +1 -1
- package/dist/types/auto-moderation.d.ts +0 -2
- package/dist/types/entitlements.d.ts +6 -6
- package/dist/types/guild.d.ts +8 -2
- package/package.json +1 -1
|
@@ -54,12 +54,10 @@ export interface JSONTriggerMetadata {
|
|
|
54
54
|
mentionTotalLimit: number;
|
|
55
55
|
mentionRaidProtection: boolean;
|
|
56
56
|
}
|
|
57
|
-
/** https://discord.com/developers/docs/resources/auto-moderation#auto-moderation-action-object-auto-moderation-action-structure */
|
|
58
57
|
export interface JSONAutoModerationAction {
|
|
59
58
|
type: ActionTypes;
|
|
60
59
|
metadata: JSONActionMetadata;
|
|
61
60
|
}
|
|
62
|
-
/** https://discord.com/developers/docs/resources/auto-moderation#auto-moderation-action-object-action-metadata */
|
|
63
61
|
export interface JSONActionMetadata {
|
|
64
62
|
channelId: string;
|
|
65
63
|
durationSeconds: number;
|
|
@@ -3,22 +3,22 @@ import type { EntitlementTypes } from "../constants";
|
|
|
3
3
|
export interface RawEntitlement {
|
|
4
4
|
id: string;
|
|
5
5
|
sku_id: string;
|
|
6
|
-
user_id?: string;
|
|
7
|
-
guild_id?: string;
|
|
8
6
|
application_id: string;
|
|
7
|
+
user_id?: string;
|
|
9
8
|
type: EntitlementTypes;
|
|
10
|
-
|
|
9
|
+
deleted: boolean;
|
|
11
10
|
starts_at?: string;
|
|
12
11
|
ends_at?: string;
|
|
12
|
+
guild_id?: string;
|
|
13
13
|
}
|
|
14
14
|
export interface JSONEntitlement {
|
|
15
15
|
id: string;
|
|
16
16
|
skuId: string;
|
|
17
|
-
userId?: string;
|
|
18
|
-
guildId?: string;
|
|
19
17
|
applicationId: string;
|
|
18
|
+
userId?: string;
|
|
20
19
|
type: EntitlementTypes;
|
|
21
|
-
|
|
20
|
+
deleted: boolean;
|
|
22
21
|
startsAt?: string;
|
|
23
22
|
endsAt?: string;
|
|
23
|
+
guildId?: string;
|
|
24
24
|
}
|
package/dist/types/guild.d.ts
CHANGED
|
@@ -165,7 +165,10 @@ export interface RawPromptOption {
|
|
|
165
165
|
id: string;
|
|
166
166
|
channel_ids: Array<string>;
|
|
167
167
|
role_ids: Array<string>;
|
|
168
|
-
emoji
|
|
168
|
+
emoji?: RawEmoji;
|
|
169
|
+
emoji_id?: string;
|
|
170
|
+
emoji_name?: string;
|
|
171
|
+
emoji_animated?: boolean;
|
|
169
172
|
title: string;
|
|
170
173
|
description: string | null;
|
|
171
174
|
}
|
|
@@ -319,7 +322,10 @@ export interface JSONPromptOption {
|
|
|
319
322
|
id: string;
|
|
320
323
|
channelIds: Array<string>;
|
|
321
324
|
roleIds: Array<string>;
|
|
322
|
-
emoji
|
|
325
|
+
emoji?: JSONEmoji;
|
|
326
|
+
emojiId?: string;
|
|
327
|
+
emojiName?: string;
|
|
328
|
+
emojiAnimated?: boolean;
|
|
323
329
|
title: string;
|
|
324
330
|
description: string | null;
|
|
325
331
|
}
|