@discordjs/core 2.0.1-dev.1725624267-dea68400a → 2.0.1-dev.1726013484-799fa54fa

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.
@@ -232,7 +232,7 @@ declare class ChannelsAPI {
232
232
  /**
233
233
  * Sends a message in a channel
234
234
  *
235
- * @see {@link https://discord.com/developers/docs/resources/channel#create-message}
235
+ * @see {@link https://discord.com/developers/docs/resources/message#create-message}
236
236
  * @param channelId - The id of the channel to send the message in
237
237
  * @param body - The data for sending the message
238
238
  * @param options - The options for sending the message
@@ -243,7 +243,7 @@ declare class ChannelsAPI {
243
243
  /**
244
244
  * Edits a message
245
245
  *
246
- * @see {@link https://discord.com/developers/docs/resources/channel#edit-message}
246
+ * @see {@link https://discord.com/developers/docs/resources/message#edit-message}
247
247
  * @param channelId - The id of the channel the message is in
248
248
  * @param messageId - The id of the message to edit
249
249
  * @param body - The data for editing the message
@@ -255,7 +255,7 @@ declare class ChannelsAPI {
255
255
  /**
256
256
  * Fetches the reactions for a message
257
257
  *
258
- * @see {@link https://discord.com/developers/docs/resources/channel#get-reactions}
258
+ * @see {@link https://discord.com/developers/docs/resources/message#get-reactions}
259
259
  * @param channelId - The id of the channel the message is in
260
260
  * @param messageId - The id of the message to get the reactions for
261
261
  * @param emoji - The emoji to get the reactions for
@@ -266,7 +266,7 @@ declare class ChannelsAPI {
266
266
  /**
267
267
  * Deletes a reaction for the current user
268
268
  *
269
- * @see {@link https://discord.com/developers/docs/resources/channel#delete-own-reaction}
269
+ * @see {@link https://discord.com/developers/docs/resources/message#delete-own-reaction}
270
270
  * @param channelId - The id of the channel the message is in
271
271
  * @param messageId - The id of the message to delete the reaction for
272
272
  * @param emoji - The emoji to delete the reaction for
@@ -276,7 +276,7 @@ declare class ChannelsAPI {
276
276
  /**
277
277
  * Deletes a reaction for a user
278
278
  *
279
- * @see {@link https://discord.com/developers/docs/resources/channel#delete-user-reaction}
279
+ * @see {@link https://discord.com/developers/docs/resources/message#delete-user-reaction}
280
280
  * @param channelId - The id of the channel the message is in
281
281
  * @param messageId - The id of the message to delete the reaction for
282
282
  * @param emoji - The emoji to delete the reaction for
@@ -287,7 +287,7 @@ declare class ChannelsAPI {
287
287
  /**
288
288
  * Deletes all reactions for a message
289
289
  *
290
- * @see {@link https://discord.com/developers/docs/resources/channel#delete-all-reactions}
290
+ * @see {@link https://discord.com/developers/docs/resources/message#delete-all-reactions}
291
291
  * @param channelId - The id of the channel the message is in
292
292
  * @param messageId - The id of the message to delete the reactions for
293
293
  * @param options - The options for deleting the reactions
@@ -296,7 +296,7 @@ declare class ChannelsAPI {
296
296
  /**
297
297
  * Deletes all reactions of an emoji for a message
298
298
  *
299
- * @see {@link https://discord.com/developers/docs/resources/channel#delete-all-reactions-for-emoji}
299
+ * @see {@link https://discord.com/developers/docs/resources/message#delete-all-reactions-for-emoji}
300
300
  * @param channelId - The id of the channel the message is in
301
301
  * @param messageId - The id of the message to delete the reactions for
302
302
  * @param emoji - The emoji to delete the reactions for
@@ -306,7 +306,7 @@ declare class ChannelsAPI {
306
306
  /**
307
307
  * Adds a reaction to a message
308
308
  *
309
- * @see {@link https://discord.com/developers/docs/resources/channel#create-reaction}
309
+ * @see {@link https://discord.com/developers/docs/resources/message#create-reaction}
310
310
  * @param channelId - The id of the channel the message is in
311
311
  * @param messageId - The id of the message to add the reaction to
312
312
  * @param emoji - The emoji to add the reaction with
@@ -341,7 +341,7 @@ declare class ChannelsAPI {
341
341
  /**
342
342
  * Fetches the messages of a channel
343
343
  *
344
- * @see {@link https://discord.com/developers/docs/resources/channel#get-channel-messages}
344
+ * @see {@link https://discord.com/developers/docs/resources/message#get-channel-messages}
345
345
  * @param channelId - The id of the channel to fetch messages from
346
346
  * @param query - The query options for fetching messages
347
347
  * @param options - The options for fetching the messages
@@ -375,7 +375,7 @@ declare class ChannelsAPI {
375
375
  /**
376
376
  * Deletes a message
377
377
  *
378
- * @see {@link https://discord.com/developers/docs/resources/channel#delete-message}
378
+ * @see {@link https://discord.com/developers/docs/resources/message#delete-message}
379
379
  * @param channelId - The id of the channel the message is in
380
380
  * @param messageId - The id of the message to delete
381
381
  * @param options - The options for deleting the message
@@ -384,7 +384,7 @@ declare class ChannelsAPI {
384
384
  /**
385
385
  * Bulk deletes messages
386
386
  *
387
- * @see {@link https://discord.com/developers/docs/resources/channel#bulk-delete-messages}
387
+ * @see {@link https://discord.com/developers/docs/resources/message#bulk-delete-messages}
388
388
  * @param channelId - The id of the channel the messages are in
389
389
  * @param messageIds - The ids of the messages to delete
390
390
  * @param options - The options for deleting the messages
@@ -393,7 +393,7 @@ declare class ChannelsAPI {
393
393
  /**
394
394
  * Fetches a message
395
395
  *
396
- * @see {@link https://discord.com/developers/docs/resources/channel#get-channel-message}
396
+ * @see {@link https://discord.com/developers/docs/resources/message#get-channel-message}
397
397
  * @param channelId - The id of the channel the message is in
398
398
  * @param messageId - The id of the message to fetch
399
399
  * @param options - The options for fetching the message
@@ -402,7 +402,7 @@ declare class ChannelsAPI {
402
402
  /**
403
403
  * Crossposts a message
404
404
  *
405
- * @see {@link https://discord.com/developers/docs/resources/channel#crosspost-message}
405
+ * @see {@link https://discord.com/developers/docs/resources/message#crosspost-message}
406
406
  * @param channelId - The id of the channel the message is in
407
407
  * @param messageId - The id of the message to crosspost
408
408
  * @param options - The options for crossposting the message
@@ -457,7 +457,7 @@ declare class ChannelsAPI {
457
457
  /**
458
458
  * Creates a new forum post
459
459
  *
460
- * @see {@link https://discord.com/developers/docs/resources/channel#start-thread-in-forum-channel}
460
+ * @see {@link https://discord.com/developers/docs/resources/channel#start-thread-in-forum-or-media-channel}
461
461
  * @param channelId - The id of the forum channel to start the thread in
462
462
  * @param body - The data for starting the thread
463
463
  * @param options - The options for starting the thread
@@ -232,7 +232,7 @@ declare class ChannelsAPI {
232
232
  /**
233
233
  * Sends a message in a channel
234
234
  *
235
- * @see {@link https://discord.com/developers/docs/resources/channel#create-message}
235
+ * @see {@link https://discord.com/developers/docs/resources/message#create-message}
236
236
  * @param channelId - The id of the channel to send the message in
237
237
  * @param body - The data for sending the message
238
238
  * @param options - The options for sending the message
@@ -243,7 +243,7 @@ declare class ChannelsAPI {
243
243
  /**
244
244
  * Edits a message
245
245
  *
246
- * @see {@link https://discord.com/developers/docs/resources/channel#edit-message}
246
+ * @see {@link https://discord.com/developers/docs/resources/message#edit-message}
247
247
  * @param channelId - The id of the channel the message is in
248
248
  * @param messageId - The id of the message to edit
249
249
  * @param body - The data for editing the message
@@ -255,7 +255,7 @@ declare class ChannelsAPI {
255
255
  /**
256
256
  * Fetches the reactions for a message
257
257
  *
258
- * @see {@link https://discord.com/developers/docs/resources/channel#get-reactions}
258
+ * @see {@link https://discord.com/developers/docs/resources/message#get-reactions}
259
259
  * @param channelId - The id of the channel the message is in
260
260
  * @param messageId - The id of the message to get the reactions for
261
261
  * @param emoji - The emoji to get the reactions for
@@ -266,7 +266,7 @@ declare class ChannelsAPI {
266
266
  /**
267
267
  * Deletes a reaction for the current user
268
268
  *
269
- * @see {@link https://discord.com/developers/docs/resources/channel#delete-own-reaction}
269
+ * @see {@link https://discord.com/developers/docs/resources/message#delete-own-reaction}
270
270
  * @param channelId - The id of the channel the message is in
271
271
  * @param messageId - The id of the message to delete the reaction for
272
272
  * @param emoji - The emoji to delete the reaction for
@@ -276,7 +276,7 @@ declare class ChannelsAPI {
276
276
  /**
277
277
  * Deletes a reaction for a user
278
278
  *
279
- * @see {@link https://discord.com/developers/docs/resources/channel#delete-user-reaction}
279
+ * @see {@link https://discord.com/developers/docs/resources/message#delete-user-reaction}
280
280
  * @param channelId - The id of the channel the message is in
281
281
  * @param messageId - The id of the message to delete the reaction for
282
282
  * @param emoji - The emoji to delete the reaction for
@@ -287,7 +287,7 @@ declare class ChannelsAPI {
287
287
  /**
288
288
  * Deletes all reactions for a message
289
289
  *
290
- * @see {@link https://discord.com/developers/docs/resources/channel#delete-all-reactions}
290
+ * @see {@link https://discord.com/developers/docs/resources/message#delete-all-reactions}
291
291
  * @param channelId - The id of the channel the message is in
292
292
  * @param messageId - The id of the message to delete the reactions for
293
293
  * @param options - The options for deleting the reactions
@@ -296,7 +296,7 @@ declare class ChannelsAPI {
296
296
  /**
297
297
  * Deletes all reactions of an emoji for a message
298
298
  *
299
- * @see {@link https://discord.com/developers/docs/resources/channel#delete-all-reactions-for-emoji}
299
+ * @see {@link https://discord.com/developers/docs/resources/message#delete-all-reactions-for-emoji}
300
300
  * @param channelId - The id of the channel the message is in
301
301
  * @param messageId - The id of the message to delete the reactions for
302
302
  * @param emoji - The emoji to delete the reactions for
@@ -306,7 +306,7 @@ declare class ChannelsAPI {
306
306
  /**
307
307
  * Adds a reaction to a message
308
308
  *
309
- * @see {@link https://discord.com/developers/docs/resources/channel#create-reaction}
309
+ * @see {@link https://discord.com/developers/docs/resources/message#create-reaction}
310
310
  * @param channelId - The id of the channel the message is in
311
311
  * @param messageId - The id of the message to add the reaction to
312
312
  * @param emoji - The emoji to add the reaction with
@@ -341,7 +341,7 @@ declare class ChannelsAPI {
341
341
  /**
342
342
  * Fetches the messages of a channel
343
343
  *
344
- * @see {@link https://discord.com/developers/docs/resources/channel#get-channel-messages}
344
+ * @see {@link https://discord.com/developers/docs/resources/message#get-channel-messages}
345
345
  * @param channelId - The id of the channel to fetch messages from
346
346
  * @param query - The query options for fetching messages
347
347
  * @param options - The options for fetching the messages
@@ -375,7 +375,7 @@ declare class ChannelsAPI {
375
375
  /**
376
376
  * Deletes a message
377
377
  *
378
- * @see {@link https://discord.com/developers/docs/resources/channel#delete-message}
378
+ * @see {@link https://discord.com/developers/docs/resources/message#delete-message}
379
379
  * @param channelId - The id of the channel the message is in
380
380
  * @param messageId - The id of the message to delete
381
381
  * @param options - The options for deleting the message
@@ -384,7 +384,7 @@ declare class ChannelsAPI {
384
384
  /**
385
385
  * Bulk deletes messages
386
386
  *
387
- * @see {@link https://discord.com/developers/docs/resources/channel#bulk-delete-messages}
387
+ * @see {@link https://discord.com/developers/docs/resources/message#bulk-delete-messages}
388
388
  * @param channelId - The id of the channel the messages are in
389
389
  * @param messageIds - The ids of the messages to delete
390
390
  * @param options - The options for deleting the messages
@@ -393,7 +393,7 @@ declare class ChannelsAPI {
393
393
  /**
394
394
  * Fetches a message
395
395
  *
396
- * @see {@link https://discord.com/developers/docs/resources/channel#get-channel-message}
396
+ * @see {@link https://discord.com/developers/docs/resources/message#get-channel-message}
397
397
  * @param channelId - The id of the channel the message is in
398
398
  * @param messageId - The id of the message to fetch
399
399
  * @param options - The options for fetching the message
@@ -402,7 +402,7 @@ declare class ChannelsAPI {
402
402
  /**
403
403
  * Crossposts a message
404
404
  *
405
- * @see {@link https://discord.com/developers/docs/resources/channel#crosspost-message}
405
+ * @see {@link https://discord.com/developers/docs/resources/message#crosspost-message}
406
406
  * @param channelId - The id of the channel the message is in
407
407
  * @param messageId - The id of the message to crosspost
408
408
  * @param options - The options for crossposting the message
@@ -457,7 +457,7 @@ declare class ChannelsAPI {
457
457
  /**
458
458
  * Creates a new forum post
459
459
  *
460
- * @see {@link https://discord.com/developers/docs/resources/channel#start-thread-in-forum-channel}
460
+ * @see {@link https://discord.com/developers/docs/resources/channel#start-thread-in-forum-or-media-channel}
461
461
  * @param channelId - The id of the forum channel to start the thread in
462
462
  * @param body - The data for starting the thread
463
463
  * @param options - The options for starting the thread
package/dist/http-only.js CHANGED
@@ -381,7 +381,7 @@ var ChannelsAPI = class {
381
381
  /**
382
382
  * Sends a message in a channel
383
383
  *
384
- * @see {@link https://discord.com/developers/docs/resources/channel#create-message}
384
+ * @see {@link https://discord.com/developers/docs/resources/message#create-message}
385
385
  * @param channelId - The id of the channel to send the message in
386
386
  * @param body - The data for sending the message
387
387
  * @param options - The options for sending the message
@@ -396,7 +396,7 @@ var ChannelsAPI = class {
396
396
  /**
397
397
  * Edits a message
398
398
  *
399
- * @see {@link https://discord.com/developers/docs/resources/channel#edit-message}
399
+ * @see {@link https://discord.com/developers/docs/resources/message#edit-message}
400
400
  * @param channelId - The id of the channel the message is in
401
401
  * @param messageId - The id of the message to edit
402
402
  * @param body - The data for editing the message
@@ -412,7 +412,7 @@ var ChannelsAPI = class {
412
412
  /**
413
413
  * Fetches the reactions for a message
414
414
  *
415
- * @see {@link https://discord.com/developers/docs/resources/channel#get-reactions}
415
+ * @see {@link https://discord.com/developers/docs/resources/message#get-reactions}
416
416
  * @param channelId - The id of the channel the message is in
417
417
  * @param messageId - The id of the message to get the reactions for
418
418
  * @param emoji - The emoji to get the reactions for
@@ -428,7 +428,7 @@ var ChannelsAPI = class {
428
428
  /**
429
429
  * Deletes a reaction for the current user
430
430
  *
431
- * @see {@link https://discord.com/developers/docs/resources/channel#delete-own-reaction}
431
+ * @see {@link https://discord.com/developers/docs/resources/message#delete-own-reaction}
432
432
  * @param channelId - The id of the channel the message is in
433
433
  * @param messageId - The id of the message to delete the reaction for
434
434
  * @param emoji - The emoji to delete the reaction for
@@ -442,7 +442,7 @@ var ChannelsAPI = class {
442
442
  /**
443
443
  * Deletes a reaction for a user
444
444
  *
445
- * @see {@link https://discord.com/developers/docs/resources/channel#delete-user-reaction}
445
+ * @see {@link https://discord.com/developers/docs/resources/message#delete-user-reaction}
446
446
  * @param channelId - The id of the channel the message is in
447
447
  * @param messageId - The id of the message to delete the reaction for
448
448
  * @param emoji - The emoji to delete the reaction for
@@ -457,7 +457,7 @@ var ChannelsAPI = class {
457
457
  /**
458
458
  * Deletes all reactions for a message
459
459
  *
460
- * @see {@link https://discord.com/developers/docs/resources/channel#delete-all-reactions}
460
+ * @see {@link https://discord.com/developers/docs/resources/message#delete-all-reactions}
461
461
  * @param channelId - The id of the channel the message is in
462
462
  * @param messageId - The id of the message to delete the reactions for
463
463
  * @param options - The options for deleting the reactions
@@ -468,7 +468,7 @@ var ChannelsAPI = class {
468
468
  /**
469
469
  * Deletes all reactions of an emoji for a message
470
470
  *
471
- * @see {@link https://discord.com/developers/docs/resources/channel#delete-all-reactions-for-emoji}
471
+ * @see {@link https://discord.com/developers/docs/resources/message#delete-all-reactions-for-emoji}
472
472
  * @param channelId - The id of the channel the message is in
473
473
  * @param messageId - The id of the message to delete the reactions for
474
474
  * @param emoji - The emoji to delete the reactions for
@@ -480,7 +480,7 @@ var ChannelsAPI = class {
480
480
  /**
481
481
  * Adds a reaction to a message
482
482
  *
483
- * @see {@link https://discord.com/developers/docs/resources/channel#create-reaction}
483
+ * @see {@link https://discord.com/developers/docs/resources/message#create-reaction}
484
484
  * @param channelId - The id of the channel the message is in
485
485
  * @param messageId - The id of the message to add the reaction to
486
486
  * @param emoji - The emoji to add the reaction with
@@ -523,7 +523,7 @@ var ChannelsAPI = class {
523
523
  /**
524
524
  * Fetches the messages of a channel
525
525
  *
526
- * @see {@link https://discord.com/developers/docs/resources/channel#get-channel-messages}
526
+ * @see {@link https://discord.com/developers/docs/resources/message#get-channel-messages}
527
527
  * @param channelId - The id of the channel to fetch messages from
528
528
  * @param query - The query options for fetching messages
529
529
  * @param options - The options for fetching the messages
@@ -568,7 +568,7 @@ var ChannelsAPI = class {
568
568
  /**
569
569
  * Deletes a message
570
570
  *
571
- * @see {@link https://discord.com/developers/docs/resources/channel#delete-message}
571
+ * @see {@link https://discord.com/developers/docs/resources/message#delete-message}
572
572
  * @param channelId - The id of the channel the message is in
573
573
  * @param messageId - The id of the message to delete
574
574
  * @param options - The options for deleting the message
@@ -579,7 +579,7 @@ var ChannelsAPI = class {
579
579
  /**
580
580
  * Bulk deletes messages
581
581
  *
582
- * @see {@link https://discord.com/developers/docs/resources/channel#bulk-delete-messages}
582
+ * @see {@link https://discord.com/developers/docs/resources/message#bulk-delete-messages}
583
583
  * @param channelId - The id of the channel the messages are in
584
584
  * @param messageIds - The ids of the messages to delete
585
585
  * @param options - The options for deleting the messages
@@ -590,7 +590,7 @@ var ChannelsAPI = class {
590
590
  /**
591
591
  * Fetches a message
592
592
  *
593
- * @see {@link https://discord.com/developers/docs/resources/channel#get-channel-message}
593
+ * @see {@link https://discord.com/developers/docs/resources/message#get-channel-message}
594
594
  * @param channelId - The id of the channel the message is in
595
595
  * @param messageId - The id of the message to fetch
596
596
  * @param options - The options for fetching the message
@@ -603,7 +603,7 @@ var ChannelsAPI = class {
603
603
  /**
604
604
  * Crossposts a message
605
605
  *
606
- * @see {@link https://discord.com/developers/docs/resources/channel#crosspost-message}
606
+ * @see {@link https://discord.com/developers/docs/resources/message#crosspost-message}
607
607
  * @param channelId - The id of the channel the message is in
608
608
  * @param messageId - The id of the message to crosspost
609
609
  * @param options - The options for crossposting the message
@@ -683,7 +683,7 @@ var ChannelsAPI = class {
683
683
  /**
684
684
  * Creates a new forum post
685
685
  *
686
- * @see {@link https://discord.com/developers/docs/resources/channel#start-thread-in-forum-channel}
686
+ * @see {@link https://discord.com/developers/docs/resources/channel#start-thread-in-forum-or-media-channel}
687
687
  * @param channelId - The id of the forum channel to start the thread in
688
688
  * @param body - The data for starting the thread
689
689
  * @param options - The options for starting the thread
@@ -2876,7 +2876,7 @@ __name(withFiles, "withFiles");
2876
2876
 
2877
2877
  // src/http-only/index.ts
2878
2878
  __reExport(http_only_exports, require("discord-api-types/v10"), module.exports);
2879
- var version = "2.0.1-dev.1725624267-dea68400a";
2879
+ var version = "2.0.1-dev.1726013484-799fa54fa";
2880
2880
  // Annotate the CommonJS export names for ESM import in node:
2881
2881
  0 && (module.exports = {
2882
2882
  API,