disgroove 2.2.3-dev.f471c4a → 2.2.4-dev.1f3985e
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/lib/Client.d.ts +40 -16
- package/dist/lib/Client.js +105 -46
- package/dist/lib/constants.d.ts +113 -76
- package/dist/lib/constants.js +125 -84
- package/dist/lib/gateway/Shard.js +2 -2
- package/dist/lib/rest/Endpoints.d.ts +4 -1
- package/dist/lib/rest/Endpoints.js +11 -3
- package/dist/lib/transformers/Applications.js +2 -0
- package/dist/lib/transformers/Channels.d.ts +1 -10
- package/dist/lib/transformers/Channels.js +0 -510
- package/dist/lib/transformers/GuildScheduledEvents.d.ts +3 -1
- package/dist/lib/transformers/GuildScheduledEvents.js +34 -0
- package/dist/lib/transformers/Interactions.d.ts +1 -1
- package/dist/lib/transformers/Interactions.js +7 -6
- package/dist/lib/transformers/Messages.d.ts +12 -0
- package/dist/lib/transformers/Messages.js +545 -0
- package/dist/lib/transformers/index.d.ts +1 -0
- package/dist/lib/transformers/index.js +1 -0
- package/dist/lib/types/application.d.ts +2 -0
- package/dist/lib/types/channel.d.ts +1 -331
- package/dist/lib/types/guild-scheduled-event.d.ts +37 -1
- package/dist/lib/types/interaction.d.ts +2 -1
- package/dist/lib/types/message.d.ts +345 -0
- package/dist/lib/types/message.js +2 -0
- package/dist/package.json +1 -1
- package/package.json +1 -1
@@ -1,12 +1,6 @@
|
|
1
|
-
import type {
|
2
|
-
import type { RawApplication, Application } from "./application";
|
1
|
+
import type { ChannelFlags, ChannelTypes, ForumLayoutTypes, SortOrderTypes, VideoQualityModes } from "../constants";
|
3
2
|
import type { snowflake, timestamp } from "./common";
|
4
|
-
import type { RawEmoji, Emoji } from "./emoji";
|
5
3
|
import type { RawGuildMember, GuildMember } from "./guild";
|
6
|
-
import type { RawMessageInteraction, RawResolvedData, MessageInteraction, ResolvedData } from "./interaction";
|
7
|
-
import type { RawActionRow, ActionRow } from "./message-components";
|
8
|
-
import type { RawPoll, Poll } from "./poll";
|
9
|
-
import type { RawStickerItem, RawSticker, StickerItem, Sticker } from "./sticker";
|
10
4
|
import type { RawUser, User } from "./user";
|
11
5
|
/** https://discord.com/developers/docs/resources/channel#channel-object-channel-structure */
|
12
6
|
export interface RawChannel {
|
@@ -46,90 +40,11 @@ export interface RawChannel {
|
|
46
40
|
default_sort_order?: SortOrderTypes | null;
|
47
41
|
default_forum_layout?: ForumLayoutTypes;
|
48
42
|
}
|
49
|
-
/** https://discord.com/developers/docs/resources/channel#message-object-message-structure */
|
50
|
-
export interface RawMessage {
|
51
|
-
id: snowflake;
|
52
|
-
channel_id: snowflake;
|
53
|
-
author: RawUser;
|
54
|
-
content: string;
|
55
|
-
timestamp: timestamp;
|
56
|
-
edited_timestamp: timestamp | null;
|
57
|
-
tts: boolean;
|
58
|
-
mention_everyone: boolean;
|
59
|
-
mentions: Array<RawUser>;
|
60
|
-
mention_roles: Array<snowflake>;
|
61
|
-
mention_channels?: Array<RawChannelMention>;
|
62
|
-
attachments: Array<RawAttachment>;
|
63
|
-
embeds: Array<RawEmbed>;
|
64
|
-
reactions?: Array<RawReaction>;
|
65
|
-
nonce?: number | string;
|
66
|
-
pinned: boolean;
|
67
|
-
webhook_id?: snowflake;
|
68
|
-
type: MessageTypes;
|
69
|
-
activity?: RawMessageActivity;
|
70
|
-
application?: RawApplication;
|
71
|
-
application_id?: snowflake;
|
72
|
-
message_reference?: RawMessageReference;
|
73
|
-
flags?: MessageFlags;
|
74
|
-
referenced_message?: RawMessage | null;
|
75
|
-
interaction_metadata?: RawMessageInteractionMetadata;
|
76
|
-
interaction?: RawMessageInteraction;
|
77
|
-
thread?: RawChannel;
|
78
|
-
components?: Array<RawActionRow>;
|
79
|
-
sticker_items?: Array<RawStickerItem>;
|
80
|
-
stickers?: Array<RawSticker>;
|
81
|
-
position?: number;
|
82
|
-
role_subscription_data?: RawRoleSubscriptionData;
|
83
|
-
resolved?: RawResolvedData;
|
84
|
-
poll?: RawPoll;
|
85
|
-
call?: RawMessageCall;
|
86
|
-
}
|
87
|
-
/** https://discord.com/developers/docs/resources/channel#message-object-message-activity-structure */
|
88
|
-
export interface RawMessageActivity {
|
89
|
-
type: MessageActivityTypes;
|
90
|
-
party_id?: string;
|
91
|
-
}
|
92
|
-
/** https://discord.com/developers/docs/resources/channel#message-interaction-metadata-object-message-interaction-metadata-structure */
|
93
|
-
export interface RawMessageInteractionMetadata {
|
94
|
-
id: snowflake;
|
95
|
-
type: InteractionType;
|
96
|
-
user: RawUser;
|
97
|
-
authorizing_integration_owners: Record<ApplicationIntegrationTypes, string>;
|
98
|
-
original_response_message_id?: snowflake;
|
99
|
-
interacted_message_id?: snowflake;
|
100
|
-
triggering_interaction_metadata?: RawMessageInteractionMetadata;
|
101
|
-
}
|
102
|
-
/** https://discord.com/developers/docs/resources/channel#message-call-object-message-call-object-structure */
|
103
|
-
export interface RawMessageCall {
|
104
|
-
partecipants: Array<snowflake>;
|
105
|
-
ended_timestamp?: timestamp | null;
|
106
|
-
}
|
107
|
-
/** https://discord.com/developers/docs/resources/channel#message-reference-object-message-reference-structure */
|
108
|
-
export interface RawMessageReference {
|
109
|
-
message_id?: snowflake;
|
110
|
-
channel_id?: snowflake;
|
111
|
-
guild_id?: snowflake;
|
112
|
-
fail_if_not_exists?: boolean;
|
113
|
-
}
|
114
43
|
/** https://discord.com/developers/docs/resources/channel#followed-channel-object-followed-channel-structure */
|
115
44
|
export interface RawFollowedChannel {
|
116
45
|
channel_id: snowflake;
|
117
46
|
webhook_id: snowflake;
|
118
47
|
}
|
119
|
-
/** https://discord.com/developers/docs/resources/channel#reaction-object-reaction-structure */
|
120
|
-
export interface RawReaction {
|
121
|
-
count: number;
|
122
|
-
count_details: RawReactionCountDetails;
|
123
|
-
me: boolean;
|
124
|
-
me_burst: boolean;
|
125
|
-
emoji: RawEmoji;
|
126
|
-
burst_colors: Array<string>;
|
127
|
-
}
|
128
|
-
/** https://discord.com/developers/docs/resources/channel#reaction-count-details-object-reaction-count-details-structure */
|
129
|
-
export interface RawReactionCountDetails {
|
130
|
-
burst: number;
|
131
|
-
normal: number;
|
132
|
-
}
|
133
48
|
/** https://discord.com/developers/docs/resources/channel#overwrite-object-overwrite-structure */
|
134
49
|
export interface RawOverwrite {
|
135
50
|
id: snowflake;
|
@@ -167,98 +82,6 @@ export interface RawForumTag {
|
|
167
82
|
emoji_id?: snowflake;
|
168
83
|
emoji_name?: string;
|
169
84
|
}
|
170
|
-
/** https://discord.com/developers/docs/resources/channel#embed-object-embed-structure */
|
171
|
-
export interface RawEmbed {
|
172
|
-
title?: string;
|
173
|
-
type?: string;
|
174
|
-
description?: string;
|
175
|
-
url?: string;
|
176
|
-
timestamp?: timestamp;
|
177
|
-
color?: number;
|
178
|
-
footer?: RawEmbedFooter;
|
179
|
-
image?: RawEmbedImage;
|
180
|
-
thumbnail?: RawEmbedThumbnail;
|
181
|
-
video?: RawEmbedVideo;
|
182
|
-
provider?: RawEmbedProvider;
|
183
|
-
author?: RawEmbedAuthor;
|
184
|
-
fields?: Array<RawEmbedField>;
|
185
|
-
}
|
186
|
-
/** https://discord.com/developers/docs/resources/channel#embed-object-embed-thumbnail-structure */
|
187
|
-
export interface RawEmbedThumbnail {
|
188
|
-
url: string;
|
189
|
-
proxy_url?: string;
|
190
|
-
height?: number;
|
191
|
-
width?: number;
|
192
|
-
}
|
193
|
-
/** https://discord.com/developers/docs/resources/channel#embed-object-embed-video-structure */
|
194
|
-
export interface RawEmbedVideo {
|
195
|
-
url?: string;
|
196
|
-
proxy_url?: string;
|
197
|
-
height?: number;
|
198
|
-
width?: number;
|
199
|
-
}
|
200
|
-
/** https://discord.com/developers/docs/resources/channel#embed-object-embed-image-structure */
|
201
|
-
export interface RawEmbedImage {
|
202
|
-
url: string;
|
203
|
-
proxy_url?: string;
|
204
|
-
height?: number;
|
205
|
-
width?: number;
|
206
|
-
}
|
207
|
-
/** https://discord.com/developers/docs/resources/channel#embed-object-embed-provider-structure */
|
208
|
-
export interface RawEmbedProvider {
|
209
|
-
name?: string;
|
210
|
-
url?: string;
|
211
|
-
}
|
212
|
-
/** https://discord.com/developers/docs/resources/channel#embed-object-embed-author-structure */
|
213
|
-
export interface RawEmbedAuthor {
|
214
|
-
name: string;
|
215
|
-
url?: string;
|
216
|
-
icon_url?: string;
|
217
|
-
proxy_icon_url?: string;
|
218
|
-
}
|
219
|
-
/** https://discord.com/developers/docs/resources/channel#embed-object-embed-footer-structure */
|
220
|
-
export interface RawEmbedFooter {
|
221
|
-
text: string;
|
222
|
-
icon_url?: string;
|
223
|
-
proxy_icon_url?: string;
|
224
|
-
}
|
225
|
-
/** https://discord.com/developers/docs/resources/channel#embed-object-embed-field-structure */
|
226
|
-
export interface RawEmbedField {
|
227
|
-
name: string;
|
228
|
-
value: string;
|
229
|
-
inline?: boolean;
|
230
|
-
}
|
231
|
-
/** https://discord.com/developers/docs/resources/channel#attachment-object-attachment-structure */
|
232
|
-
export interface RawAttachment {
|
233
|
-
id: snowflake;
|
234
|
-
filename: string;
|
235
|
-
title?: string;
|
236
|
-
description?: string;
|
237
|
-
content_type?: string;
|
238
|
-
size: number;
|
239
|
-
url: string;
|
240
|
-
proxy_url: string;
|
241
|
-
height?: number;
|
242
|
-
width?: number;
|
243
|
-
ephemeral?: boolean;
|
244
|
-
duration_secs?: number;
|
245
|
-
waveform?: boolean;
|
246
|
-
flags?: AttachmentFlags;
|
247
|
-
}
|
248
|
-
/** https://discord.com/developers/docs/resources/channel#channel-mention-object-channel-mention-structure */
|
249
|
-
export interface RawChannelMention {
|
250
|
-
id: snowflake;
|
251
|
-
guild_id: snowflake;
|
252
|
-
type: ChannelTypes;
|
253
|
-
name: string;
|
254
|
-
}
|
255
|
-
/** https://discord.com/developers/docs/resources/channel#allowed-mentions-object-allowed-mentions-structure */
|
256
|
-
export interface RawAllowedMentions {
|
257
|
-
parse: Array<AllowedMentionTypes>;
|
258
|
-
roles: Array<snowflake>;
|
259
|
-
users: Array<snowflake>;
|
260
|
-
replied_user: boolean;
|
261
|
-
}
|
262
85
|
/** https://discord.com/developers/docs/resources/channel#role-subscription-data-object-role-subscription-data-object-structure */
|
263
86
|
export interface RawRoleSubscriptionData {
|
264
87
|
role_subscription_listing_id: snowflake;
|
@@ -303,82 +126,10 @@ export interface Channel {
|
|
303
126
|
defaultSortOrder?: SortOrderTypes | null;
|
304
127
|
defaultForumLayout?: ForumLayoutTypes;
|
305
128
|
}
|
306
|
-
export interface Message {
|
307
|
-
id: snowflake;
|
308
|
-
channelID: snowflake;
|
309
|
-
author: User;
|
310
|
-
content: string;
|
311
|
-
timestamp: timestamp;
|
312
|
-
editedTimestamp: timestamp | null;
|
313
|
-
tts: boolean;
|
314
|
-
mentionEveryone: boolean;
|
315
|
-
mentions: Array<User>;
|
316
|
-
mentionRoles: Array<snowflake>;
|
317
|
-
mentionChannels?: Array<ChannelMention>;
|
318
|
-
attachments: Array<Attachment>;
|
319
|
-
embeds: Array<Embed>;
|
320
|
-
reactions?: Array<Reaction>;
|
321
|
-
nonce?: number | string;
|
322
|
-
pinned: boolean;
|
323
|
-
webhookID?: snowflake;
|
324
|
-
type: MessageTypes;
|
325
|
-
activity?: MessageActivity;
|
326
|
-
application?: Application;
|
327
|
-
applicationID?: snowflake;
|
328
|
-
messageReference?: MessageReference;
|
329
|
-
flags?: MessageFlags;
|
330
|
-
referencedMessage?: Message | null;
|
331
|
-
interactionMetadata?: MessageInteractionMetadata;
|
332
|
-
interaction?: MessageInteraction;
|
333
|
-
thread?: Channel;
|
334
|
-
components?: Array<ActionRow>;
|
335
|
-
stickerItems?: Array<StickerItem>;
|
336
|
-
stickers?: Array<Sticker>;
|
337
|
-
position?: number;
|
338
|
-
roleSubscriptionData?: RoleSubscriptionData;
|
339
|
-
resolved?: ResolvedData;
|
340
|
-
poll?: Poll;
|
341
|
-
call?: MessageCall;
|
342
|
-
}
|
343
|
-
export interface MessageActivity {
|
344
|
-
type: MessageActivityTypes;
|
345
|
-
partyID?: string;
|
346
|
-
}
|
347
|
-
export interface MessageInteractionMetadata {
|
348
|
-
id: snowflake;
|
349
|
-
type: InteractionType;
|
350
|
-
user: User;
|
351
|
-
authorizingIntegrationOwners: Record<ApplicationIntegrationTypes, string>;
|
352
|
-
originalResponseMessageID?: snowflake;
|
353
|
-
interactedMessageID?: snowflake;
|
354
|
-
triggeringInteractionMetadata?: MessageInteractionMetadata;
|
355
|
-
}
|
356
|
-
export interface MessageCall {
|
357
|
-
partecipants: Array<snowflake>;
|
358
|
-
endedTimestamp?: timestamp | null;
|
359
|
-
}
|
360
|
-
export interface MessageReference {
|
361
|
-
messageID?: snowflake;
|
362
|
-
channelID?: snowflake;
|
363
|
-
guildID?: snowflake;
|
364
|
-
failIfNotExists?: boolean;
|
365
|
-
}
|
366
129
|
export interface FollowedChannel {
|
367
130
|
channelID: snowflake;
|
368
131
|
webhookID: snowflake;
|
369
132
|
}
|
370
|
-
export interface Reaction {
|
371
|
-
count: number;
|
372
|
-
countDetails: ReactionCountDetails;
|
373
|
-
me: boolean;
|
374
|
-
meBurst: boolean;
|
375
|
-
emoji: Emoji;
|
376
|
-
burstColors: Array<string>;
|
377
|
-
}
|
378
|
-
export interface ReactionCountDetails {
|
379
|
-
burst: number;
|
380
|
-
normal: number;
|
381
|
-
}
|
382
133
|
export interface Overwrite {
|
383
134
|
id: snowflake;
|
384
135
|
type: number;
|
@@ -411,87 +162,6 @@ export interface ForumTag {
|
|
411
162
|
emojiID?: snowflake;
|
412
163
|
emojiName?: string;
|
413
164
|
}
|
414
|
-
export interface Embed {
|
415
|
-
title?: string;
|
416
|
-
type?: string;
|
417
|
-
description?: string;
|
418
|
-
url?: string;
|
419
|
-
timestamp?: timestamp;
|
420
|
-
color?: number;
|
421
|
-
footer?: EmbedFooter;
|
422
|
-
image?: EmbedImage;
|
423
|
-
thumbnail?: EmbedThumbnail;
|
424
|
-
video?: EmbedVideo;
|
425
|
-
provider?: EmbedProvider;
|
426
|
-
author?: EmbedAuthor;
|
427
|
-
fields?: Array<EmbedField>;
|
428
|
-
}
|
429
|
-
export interface EmbedThumbnail {
|
430
|
-
url: string;
|
431
|
-
proxyURL?: string;
|
432
|
-
height?: number;
|
433
|
-
width?: number;
|
434
|
-
}
|
435
|
-
export interface EmbedVideo {
|
436
|
-
url?: string;
|
437
|
-
proxyURL?: string;
|
438
|
-
height?: number;
|
439
|
-
width?: number;
|
440
|
-
}
|
441
|
-
export interface EmbedImage {
|
442
|
-
url: string;
|
443
|
-
proxyURL?: string;
|
444
|
-
height?: number;
|
445
|
-
width?: number;
|
446
|
-
}
|
447
|
-
export interface EmbedProvider {
|
448
|
-
name?: string;
|
449
|
-
url?: string;
|
450
|
-
}
|
451
|
-
export interface EmbedAuthor {
|
452
|
-
name: string;
|
453
|
-
url?: string;
|
454
|
-
iconURL?: string;
|
455
|
-
proxyIconURL?: string;
|
456
|
-
}
|
457
|
-
export interface EmbedFooter {
|
458
|
-
text: string;
|
459
|
-
iconURL?: string;
|
460
|
-
proxyIconURL?: string;
|
461
|
-
}
|
462
|
-
export interface EmbedField {
|
463
|
-
name: string;
|
464
|
-
value: string;
|
465
|
-
inline?: boolean;
|
466
|
-
}
|
467
|
-
export interface Attachment {
|
468
|
-
id: snowflake;
|
469
|
-
filename: string;
|
470
|
-
title?: string;
|
471
|
-
description?: string;
|
472
|
-
contentType?: string;
|
473
|
-
size: number;
|
474
|
-
url: string;
|
475
|
-
proxyURL: string;
|
476
|
-
height?: number;
|
477
|
-
width?: number;
|
478
|
-
ephemeral?: boolean;
|
479
|
-
durationSecs?: number;
|
480
|
-
waveform?: boolean;
|
481
|
-
flags?: AttachmentFlags;
|
482
|
-
}
|
483
|
-
export interface ChannelMention {
|
484
|
-
id: snowflake;
|
485
|
-
guildID: snowflake;
|
486
|
-
type: ChannelTypes;
|
487
|
-
name: string;
|
488
|
-
}
|
489
|
-
export interface AllowedMentions {
|
490
|
-
parse: Array<AllowedMentionTypes>;
|
491
|
-
roles: Array<snowflake>;
|
492
|
-
users: Array<snowflake>;
|
493
|
-
repliedUser: boolean;
|
494
|
-
}
|
495
165
|
export interface RoleSubscriptionData {
|
496
166
|
roleSubscriptionListingID: snowflake;
|
497
167
|
tierName: string;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { GuildScheduledEventPrivacyLevel, GuildScheduledEventStatus, GuildScheduledEventEntityTypes } from "../constants";
|
1
|
+
import type { GuildScheduledEventPrivacyLevel, GuildScheduledEventStatus, GuildScheduledEventEntityTypes, GuildScheduledEventRecurrenceRuleFrequency, GuildScheduledEventRecurrenceRuleMonth, GuildScheduledEventRecurrenceRuleWeekday } from "../constants";
|
2
2
|
import type { snowflake, timestamp } from "./common";
|
3
3
|
import type { RawGuildMember, GuildMember } from "./guild";
|
4
4
|
import type { RawUser, User } from "./user";
|
@@ -20,6 +20,7 @@ export interface RawGuildScheduledEvent {
|
|
20
20
|
creator?: RawUser;
|
21
21
|
user_count?: number;
|
22
22
|
image?: string;
|
23
|
+
reccurence_rule: RawGuildScheduledEventRecurrenceRule | null;
|
23
24
|
}
|
24
25
|
/** https://discord.com/developers/docs/resources/guild-scheduled-event#guild-scheduled-event-object-guild-scheduled-event-entity-metadata */
|
25
26
|
export interface RawGuildScheduledEventEntityMetadata {
|
@@ -31,6 +32,24 @@ export interface RawGuildScheduledEventUser {
|
|
31
32
|
user: RawUser;
|
32
33
|
member?: RawGuildMember;
|
33
34
|
}
|
35
|
+
/** https://discord.com/developers/docs/resources/guild-scheduled-event#guild-scheduled-event-recurrence-rule-object-guild-scheduled-event-recurrence-rule-structure */
|
36
|
+
export interface RawGuildScheduledEventRecurrenceRule {
|
37
|
+
start: timestamp;
|
38
|
+
end: timestamp | null;
|
39
|
+
frequency: GuildScheduledEventRecurrenceRuleFrequency;
|
40
|
+
interval: number;
|
41
|
+
by_weekday: GuildScheduledEventRecurrenceRuleWeekday | null;
|
42
|
+
by_n_weekday: RawGuildScheduledEventRecurrenceRuleNWeekday | null;
|
43
|
+
by_month: GuildScheduledEventRecurrenceRuleMonth | null;
|
44
|
+
by_month_day: Array<number>;
|
45
|
+
by_year_day: Array<number>;
|
46
|
+
count: number | null;
|
47
|
+
}
|
48
|
+
/** https://discord.com/developers/docs/resources/guild-scheduled-event#guild-scheduled-event-recurrence-rule-object-guild-scheduled-event-recurrence-rule-nweekday-structure */
|
49
|
+
export interface RawGuildScheduledEventRecurrenceRuleNWeekday {
|
50
|
+
n: number;
|
51
|
+
day: GuildScheduledEventRecurrenceRuleWeekday;
|
52
|
+
}
|
34
53
|
export interface GuildScheduledEvent {
|
35
54
|
id: snowflake;
|
36
55
|
guildID: snowflake;
|
@@ -48,6 +67,7 @@ export interface GuildScheduledEvent {
|
|
48
67
|
creator?: User;
|
49
68
|
userCount?: number;
|
50
69
|
image?: string;
|
70
|
+
recurrenceRule: GuildScheduledEventRecurrenceRule | null;
|
51
71
|
}
|
52
72
|
export interface GuildScheduledEventEntityMetadata {
|
53
73
|
location?: string;
|
@@ -57,3 +77,19 @@ export interface GuildScheduledEventUser {
|
|
57
77
|
user: User;
|
58
78
|
member?: GuildMember;
|
59
79
|
}
|
80
|
+
export interface GuildScheduledEventRecurrenceRule {
|
81
|
+
start: timestamp;
|
82
|
+
end: timestamp | null;
|
83
|
+
frequency: GuildScheduledEventRecurrenceRuleFrequency;
|
84
|
+
interval: number;
|
85
|
+
byWeekday: GuildScheduledEventRecurrenceRuleWeekday | null;
|
86
|
+
byNWeekday: GuildScheduledEventRecurrenceRuleNWeekday | null;
|
87
|
+
byMonth: GuildScheduledEventRecurrenceRuleMonth | null;
|
88
|
+
byMonthDay: Array<number>;
|
89
|
+
byYearDay: Array<number>;
|
90
|
+
count: number | null;
|
91
|
+
}
|
92
|
+
export interface GuildScheduledEventRecurrenceRuleNWeekday {
|
93
|
+
n: number;
|
94
|
+
day: GuildScheduledEventRecurrenceRuleWeekday;
|
95
|
+
}
|
@@ -1,10 +1,11 @@
|
|
1
1
|
import type { ApplicationCommandOptionType, ApplicationCommandTypes, ApplicationIntegrationTypes, ComponentTypes, InteractionCallbackType, InteractionContextTypes, InteractionType, Locales, MessageFlags } from "../constants";
|
2
2
|
import type { File } from "../rest";
|
3
3
|
import type { RawApplicationCommandOptionChoice, ApplicationCommandOptionChoice } from "./application-command";
|
4
|
-
import type { RawChannel,
|
4
|
+
import type { RawChannel, Channel } from "./channel";
|
5
5
|
import type { snowflake } from "./common";
|
6
6
|
import type { RawEntitlement, Entitlement } from "./entitlements";
|
7
7
|
import type { RawGuildMember, GuildMember, Guild, RawGuild } from "./guild";
|
8
|
+
import type { RawMessage, RawAttachment, RawEmbed, RawAllowedMentions, Message, Attachment, Embed, AllowedMentions } from "./message";
|
8
9
|
import type { RawTextInput, RawActionRow, TextInput, ActionRow } from "./message-components";
|
9
10
|
import type { RawPollCreateParams, PollCreateParams } from "./poll";
|
10
11
|
import type { RawRole, Role } from "./role";
|