@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.
package/dist/index.d.mts CHANGED
@@ -235,7 +235,7 @@ declare class ChannelsAPI {
235
235
  /**
236
236
  * Sends a message in a channel
237
237
  *
238
- * @see {@link https://discord.com/developers/docs/resources/channel#create-message}
238
+ * @see {@link https://discord.com/developers/docs/resources/message#create-message}
239
239
  * @param channelId - The id of the channel to send the message in
240
240
  * @param body - The data for sending the message
241
241
  * @param options - The options for sending the message
@@ -246,7 +246,7 @@ declare class ChannelsAPI {
246
246
  /**
247
247
  * Edits a message
248
248
  *
249
- * @see {@link https://discord.com/developers/docs/resources/channel#edit-message}
249
+ * @see {@link https://discord.com/developers/docs/resources/message#edit-message}
250
250
  * @param channelId - The id of the channel the message is in
251
251
  * @param messageId - The id of the message to edit
252
252
  * @param body - The data for editing the message
@@ -258,7 +258,7 @@ declare class ChannelsAPI {
258
258
  /**
259
259
  * Fetches the reactions for a message
260
260
  *
261
- * @see {@link https://discord.com/developers/docs/resources/channel#get-reactions}
261
+ * @see {@link https://discord.com/developers/docs/resources/message#get-reactions}
262
262
  * @param channelId - The id of the channel the message is in
263
263
  * @param messageId - The id of the message to get the reactions for
264
264
  * @param emoji - The emoji to get the reactions for
@@ -269,7 +269,7 @@ declare class ChannelsAPI {
269
269
  /**
270
270
  * Deletes a reaction for the current user
271
271
  *
272
- * @see {@link https://discord.com/developers/docs/resources/channel#delete-own-reaction}
272
+ * @see {@link https://discord.com/developers/docs/resources/message#delete-own-reaction}
273
273
  * @param channelId - The id of the channel the message is in
274
274
  * @param messageId - The id of the message to delete the reaction for
275
275
  * @param emoji - The emoji to delete the reaction for
@@ -279,7 +279,7 @@ declare class ChannelsAPI {
279
279
  /**
280
280
  * Deletes a reaction for a user
281
281
  *
282
- * @see {@link https://discord.com/developers/docs/resources/channel#delete-user-reaction}
282
+ * @see {@link https://discord.com/developers/docs/resources/message#delete-user-reaction}
283
283
  * @param channelId - The id of the channel the message is in
284
284
  * @param messageId - The id of the message to delete the reaction for
285
285
  * @param emoji - The emoji to delete the reaction for
@@ -290,7 +290,7 @@ declare class ChannelsAPI {
290
290
  /**
291
291
  * Deletes all reactions for a message
292
292
  *
293
- * @see {@link https://discord.com/developers/docs/resources/channel#delete-all-reactions}
293
+ * @see {@link https://discord.com/developers/docs/resources/message#delete-all-reactions}
294
294
  * @param channelId - The id of the channel the message is in
295
295
  * @param messageId - The id of the message to delete the reactions for
296
296
  * @param options - The options for deleting the reactions
@@ -299,7 +299,7 @@ declare class ChannelsAPI {
299
299
  /**
300
300
  * Deletes all reactions of an emoji for a message
301
301
  *
302
- * @see {@link https://discord.com/developers/docs/resources/channel#delete-all-reactions-for-emoji}
302
+ * @see {@link https://discord.com/developers/docs/resources/message#delete-all-reactions-for-emoji}
303
303
  * @param channelId - The id of the channel the message is in
304
304
  * @param messageId - The id of the message to delete the reactions for
305
305
  * @param emoji - The emoji to delete the reactions for
@@ -309,7 +309,7 @@ declare class ChannelsAPI {
309
309
  /**
310
310
  * Adds a reaction to a message
311
311
  *
312
- * @see {@link https://discord.com/developers/docs/resources/channel#create-reaction}
312
+ * @see {@link https://discord.com/developers/docs/resources/message#create-reaction}
313
313
  * @param channelId - The id of the channel the message is in
314
314
  * @param messageId - The id of the message to add the reaction to
315
315
  * @param emoji - The emoji to add the reaction with
@@ -344,7 +344,7 @@ declare class ChannelsAPI {
344
344
  /**
345
345
  * Fetches the messages of a channel
346
346
  *
347
- * @see {@link https://discord.com/developers/docs/resources/channel#get-channel-messages}
347
+ * @see {@link https://discord.com/developers/docs/resources/message#get-channel-messages}
348
348
  * @param channelId - The id of the channel to fetch messages from
349
349
  * @param query - The query options for fetching messages
350
350
  * @param options - The options for fetching the messages
@@ -378,7 +378,7 @@ declare class ChannelsAPI {
378
378
  /**
379
379
  * Deletes a message
380
380
  *
381
- * @see {@link https://discord.com/developers/docs/resources/channel#delete-message}
381
+ * @see {@link https://discord.com/developers/docs/resources/message#delete-message}
382
382
  * @param channelId - The id of the channel the message is in
383
383
  * @param messageId - The id of the message to delete
384
384
  * @param options - The options for deleting the message
@@ -387,7 +387,7 @@ declare class ChannelsAPI {
387
387
  /**
388
388
  * Bulk deletes messages
389
389
  *
390
- * @see {@link https://discord.com/developers/docs/resources/channel#bulk-delete-messages}
390
+ * @see {@link https://discord.com/developers/docs/resources/message#bulk-delete-messages}
391
391
  * @param channelId - The id of the channel the messages are in
392
392
  * @param messageIds - The ids of the messages to delete
393
393
  * @param options - The options for deleting the messages
@@ -396,7 +396,7 @@ declare class ChannelsAPI {
396
396
  /**
397
397
  * Fetches a message
398
398
  *
399
- * @see {@link https://discord.com/developers/docs/resources/channel#get-channel-message}
399
+ * @see {@link https://discord.com/developers/docs/resources/message#get-channel-message}
400
400
  * @param channelId - The id of the channel the message is in
401
401
  * @param messageId - The id of the message to fetch
402
402
  * @param options - The options for fetching the message
@@ -405,7 +405,7 @@ declare class ChannelsAPI {
405
405
  /**
406
406
  * Crossposts a message
407
407
  *
408
- * @see {@link https://discord.com/developers/docs/resources/channel#crosspost-message}
408
+ * @see {@link https://discord.com/developers/docs/resources/message#crosspost-message}
409
409
  * @param channelId - The id of the channel the message is in
410
410
  * @param messageId - The id of the message to crosspost
411
411
  * @param options - The options for crossposting the message
@@ -460,7 +460,7 @@ declare class ChannelsAPI {
460
460
  /**
461
461
  * Creates a new forum post
462
462
  *
463
- * @see {@link https://discord.com/developers/docs/resources/channel#start-thread-in-forum-channel}
463
+ * @see {@link https://discord.com/developers/docs/resources/channel#start-thread-in-forum-or-media-channel}
464
464
  * @param channelId - The id of the forum channel to start the thread in
465
465
  * @param body - The data for starting the thread
466
466
  * @param options - The options for starting the thread
package/dist/index.d.ts CHANGED
@@ -235,7 +235,7 @@ declare class ChannelsAPI {
235
235
  /**
236
236
  * Sends a message in a channel
237
237
  *
238
- * @see {@link https://discord.com/developers/docs/resources/channel#create-message}
238
+ * @see {@link https://discord.com/developers/docs/resources/message#create-message}
239
239
  * @param channelId - The id of the channel to send the message in
240
240
  * @param body - The data for sending the message
241
241
  * @param options - The options for sending the message
@@ -246,7 +246,7 @@ declare class ChannelsAPI {
246
246
  /**
247
247
  * Edits a message
248
248
  *
249
- * @see {@link https://discord.com/developers/docs/resources/channel#edit-message}
249
+ * @see {@link https://discord.com/developers/docs/resources/message#edit-message}
250
250
  * @param channelId - The id of the channel the message is in
251
251
  * @param messageId - The id of the message to edit
252
252
  * @param body - The data for editing the message
@@ -258,7 +258,7 @@ declare class ChannelsAPI {
258
258
  /**
259
259
  * Fetches the reactions for a message
260
260
  *
261
- * @see {@link https://discord.com/developers/docs/resources/channel#get-reactions}
261
+ * @see {@link https://discord.com/developers/docs/resources/message#get-reactions}
262
262
  * @param channelId - The id of the channel the message is in
263
263
  * @param messageId - The id of the message to get the reactions for
264
264
  * @param emoji - The emoji to get the reactions for
@@ -269,7 +269,7 @@ declare class ChannelsAPI {
269
269
  /**
270
270
  * Deletes a reaction for the current user
271
271
  *
272
- * @see {@link https://discord.com/developers/docs/resources/channel#delete-own-reaction}
272
+ * @see {@link https://discord.com/developers/docs/resources/message#delete-own-reaction}
273
273
  * @param channelId - The id of the channel the message is in
274
274
  * @param messageId - The id of the message to delete the reaction for
275
275
  * @param emoji - The emoji to delete the reaction for
@@ -279,7 +279,7 @@ declare class ChannelsAPI {
279
279
  /**
280
280
  * Deletes a reaction for a user
281
281
  *
282
- * @see {@link https://discord.com/developers/docs/resources/channel#delete-user-reaction}
282
+ * @see {@link https://discord.com/developers/docs/resources/message#delete-user-reaction}
283
283
  * @param channelId - The id of the channel the message is in
284
284
  * @param messageId - The id of the message to delete the reaction for
285
285
  * @param emoji - The emoji to delete the reaction for
@@ -290,7 +290,7 @@ declare class ChannelsAPI {
290
290
  /**
291
291
  * Deletes all reactions for a message
292
292
  *
293
- * @see {@link https://discord.com/developers/docs/resources/channel#delete-all-reactions}
293
+ * @see {@link https://discord.com/developers/docs/resources/message#delete-all-reactions}
294
294
  * @param channelId - The id of the channel the message is in
295
295
  * @param messageId - The id of the message to delete the reactions for
296
296
  * @param options - The options for deleting the reactions
@@ -299,7 +299,7 @@ declare class ChannelsAPI {
299
299
  /**
300
300
  * Deletes all reactions of an emoji for a message
301
301
  *
302
- * @see {@link https://discord.com/developers/docs/resources/channel#delete-all-reactions-for-emoji}
302
+ * @see {@link https://discord.com/developers/docs/resources/message#delete-all-reactions-for-emoji}
303
303
  * @param channelId - The id of the channel the message is in
304
304
  * @param messageId - The id of the message to delete the reactions for
305
305
  * @param emoji - The emoji to delete the reactions for
@@ -309,7 +309,7 @@ declare class ChannelsAPI {
309
309
  /**
310
310
  * Adds a reaction to a message
311
311
  *
312
- * @see {@link https://discord.com/developers/docs/resources/channel#create-reaction}
312
+ * @see {@link https://discord.com/developers/docs/resources/message#create-reaction}
313
313
  * @param channelId - The id of the channel the message is in
314
314
  * @param messageId - The id of the message to add the reaction to
315
315
  * @param emoji - The emoji to add the reaction with
@@ -344,7 +344,7 @@ declare class ChannelsAPI {
344
344
  /**
345
345
  * Fetches the messages of a channel
346
346
  *
347
- * @see {@link https://discord.com/developers/docs/resources/channel#get-channel-messages}
347
+ * @see {@link https://discord.com/developers/docs/resources/message#get-channel-messages}
348
348
  * @param channelId - The id of the channel to fetch messages from
349
349
  * @param query - The query options for fetching messages
350
350
  * @param options - The options for fetching the messages
@@ -378,7 +378,7 @@ declare class ChannelsAPI {
378
378
  /**
379
379
  * Deletes a message
380
380
  *
381
- * @see {@link https://discord.com/developers/docs/resources/channel#delete-message}
381
+ * @see {@link https://discord.com/developers/docs/resources/message#delete-message}
382
382
  * @param channelId - The id of the channel the message is in
383
383
  * @param messageId - The id of the message to delete
384
384
  * @param options - The options for deleting the message
@@ -387,7 +387,7 @@ declare class ChannelsAPI {
387
387
  /**
388
388
  * Bulk deletes messages
389
389
  *
390
- * @see {@link https://discord.com/developers/docs/resources/channel#bulk-delete-messages}
390
+ * @see {@link https://discord.com/developers/docs/resources/message#bulk-delete-messages}
391
391
  * @param channelId - The id of the channel the messages are in
392
392
  * @param messageIds - The ids of the messages to delete
393
393
  * @param options - The options for deleting the messages
@@ -396,7 +396,7 @@ declare class ChannelsAPI {
396
396
  /**
397
397
  * Fetches a message
398
398
  *
399
- * @see {@link https://discord.com/developers/docs/resources/channel#get-channel-message}
399
+ * @see {@link https://discord.com/developers/docs/resources/message#get-channel-message}
400
400
  * @param channelId - The id of the channel the message is in
401
401
  * @param messageId - The id of the message to fetch
402
402
  * @param options - The options for fetching the message
@@ -405,7 +405,7 @@ declare class ChannelsAPI {
405
405
  /**
406
406
  * Crossposts a message
407
407
  *
408
- * @see {@link https://discord.com/developers/docs/resources/channel#crosspost-message}
408
+ * @see {@link https://discord.com/developers/docs/resources/message#crosspost-message}
409
409
  * @param channelId - The id of the channel the message is in
410
410
  * @param messageId - The id of the message to crosspost
411
411
  * @param options - The options for crossposting the message
@@ -460,7 +460,7 @@ declare class ChannelsAPI {
460
460
  /**
461
461
  * Creates a new forum post
462
462
  *
463
- * @see {@link https://discord.com/developers/docs/resources/channel#start-thread-in-forum-channel}
463
+ * @see {@link https://discord.com/developers/docs/resources/channel#start-thread-in-forum-or-media-channel}
464
464
  * @param channelId - The id of the forum channel to start the thread in
465
465
  * @param body - The data for starting the thread
466
466
  * @param options - The options for starting the thread
package/dist/index.js CHANGED
@@ -382,7 +382,7 @@ var ChannelsAPI = class {
382
382
  /**
383
383
  * Sends a message in a channel
384
384
  *
385
- * @see {@link https://discord.com/developers/docs/resources/channel#create-message}
385
+ * @see {@link https://discord.com/developers/docs/resources/message#create-message}
386
386
  * @param channelId - The id of the channel to send the message in
387
387
  * @param body - The data for sending the message
388
388
  * @param options - The options for sending the message
@@ -397,7 +397,7 @@ var ChannelsAPI = class {
397
397
  /**
398
398
  * Edits a message
399
399
  *
400
- * @see {@link https://discord.com/developers/docs/resources/channel#edit-message}
400
+ * @see {@link https://discord.com/developers/docs/resources/message#edit-message}
401
401
  * @param channelId - The id of the channel the message is in
402
402
  * @param messageId - The id of the message to edit
403
403
  * @param body - The data for editing the message
@@ -413,7 +413,7 @@ var ChannelsAPI = class {
413
413
  /**
414
414
  * Fetches the reactions for a message
415
415
  *
416
- * @see {@link https://discord.com/developers/docs/resources/channel#get-reactions}
416
+ * @see {@link https://discord.com/developers/docs/resources/message#get-reactions}
417
417
  * @param channelId - The id of the channel the message is in
418
418
  * @param messageId - The id of the message to get the reactions for
419
419
  * @param emoji - The emoji to get the reactions for
@@ -429,7 +429,7 @@ var ChannelsAPI = class {
429
429
  /**
430
430
  * Deletes a reaction for the current user
431
431
  *
432
- * @see {@link https://discord.com/developers/docs/resources/channel#delete-own-reaction}
432
+ * @see {@link https://discord.com/developers/docs/resources/message#delete-own-reaction}
433
433
  * @param channelId - The id of the channel the message is in
434
434
  * @param messageId - The id of the message to delete the reaction for
435
435
  * @param emoji - The emoji to delete the reaction for
@@ -443,7 +443,7 @@ var ChannelsAPI = class {
443
443
  /**
444
444
  * Deletes a reaction for a user
445
445
  *
446
- * @see {@link https://discord.com/developers/docs/resources/channel#delete-user-reaction}
446
+ * @see {@link https://discord.com/developers/docs/resources/message#delete-user-reaction}
447
447
  * @param channelId - The id of the channel the message is in
448
448
  * @param messageId - The id of the message to delete the reaction for
449
449
  * @param emoji - The emoji to delete the reaction for
@@ -458,7 +458,7 @@ var ChannelsAPI = class {
458
458
  /**
459
459
  * Deletes all reactions for a message
460
460
  *
461
- * @see {@link https://discord.com/developers/docs/resources/channel#delete-all-reactions}
461
+ * @see {@link https://discord.com/developers/docs/resources/message#delete-all-reactions}
462
462
  * @param channelId - The id of the channel the message is in
463
463
  * @param messageId - The id of the message to delete the reactions for
464
464
  * @param options - The options for deleting the reactions
@@ -469,7 +469,7 @@ var ChannelsAPI = class {
469
469
  /**
470
470
  * Deletes all reactions of an emoji for a message
471
471
  *
472
- * @see {@link https://discord.com/developers/docs/resources/channel#delete-all-reactions-for-emoji}
472
+ * @see {@link https://discord.com/developers/docs/resources/message#delete-all-reactions-for-emoji}
473
473
  * @param channelId - The id of the channel the message is in
474
474
  * @param messageId - The id of the message to delete the reactions for
475
475
  * @param emoji - The emoji to delete the reactions for
@@ -481,7 +481,7 @@ var ChannelsAPI = class {
481
481
  /**
482
482
  * Adds a reaction to a message
483
483
  *
484
- * @see {@link https://discord.com/developers/docs/resources/channel#create-reaction}
484
+ * @see {@link https://discord.com/developers/docs/resources/message#create-reaction}
485
485
  * @param channelId - The id of the channel the message is in
486
486
  * @param messageId - The id of the message to add the reaction to
487
487
  * @param emoji - The emoji to add the reaction with
@@ -524,7 +524,7 @@ var ChannelsAPI = class {
524
524
  /**
525
525
  * Fetches the messages of a channel
526
526
  *
527
- * @see {@link https://discord.com/developers/docs/resources/channel#get-channel-messages}
527
+ * @see {@link https://discord.com/developers/docs/resources/message#get-channel-messages}
528
528
  * @param channelId - The id of the channel to fetch messages from
529
529
  * @param query - The query options for fetching messages
530
530
  * @param options - The options for fetching the messages
@@ -569,7 +569,7 @@ var ChannelsAPI = class {
569
569
  /**
570
570
  * Deletes a message
571
571
  *
572
- * @see {@link https://discord.com/developers/docs/resources/channel#delete-message}
572
+ * @see {@link https://discord.com/developers/docs/resources/message#delete-message}
573
573
  * @param channelId - The id of the channel the message is in
574
574
  * @param messageId - The id of the message to delete
575
575
  * @param options - The options for deleting the message
@@ -580,7 +580,7 @@ var ChannelsAPI = class {
580
580
  /**
581
581
  * Bulk deletes messages
582
582
  *
583
- * @see {@link https://discord.com/developers/docs/resources/channel#bulk-delete-messages}
583
+ * @see {@link https://discord.com/developers/docs/resources/message#bulk-delete-messages}
584
584
  * @param channelId - The id of the channel the messages are in
585
585
  * @param messageIds - The ids of the messages to delete
586
586
  * @param options - The options for deleting the messages
@@ -591,7 +591,7 @@ var ChannelsAPI = class {
591
591
  /**
592
592
  * Fetches a message
593
593
  *
594
- * @see {@link https://discord.com/developers/docs/resources/channel#get-channel-message}
594
+ * @see {@link https://discord.com/developers/docs/resources/message#get-channel-message}
595
595
  * @param channelId - The id of the channel the message is in
596
596
  * @param messageId - The id of the message to fetch
597
597
  * @param options - The options for fetching the message
@@ -604,7 +604,7 @@ var ChannelsAPI = class {
604
604
  /**
605
605
  * Crossposts a message
606
606
  *
607
- * @see {@link https://discord.com/developers/docs/resources/channel#crosspost-message}
607
+ * @see {@link https://discord.com/developers/docs/resources/message#crosspost-message}
608
608
  * @param channelId - The id of the channel the message is in
609
609
  * @param messageId - The id of the message to crosspost
610
610
  * @param options - The options for crossposting the message
@@ -684,7 +684,7 @@ var ChannelsAPI = class {
684
684
  /**
685
685
  * Creates a new forum post
686
686
  *
687
- * @see {@link https://discord.com/developers/docs/resources/channel#start-thread-in-forum-channel}
687
+ * @see {@link https://discord.com/developers/docs/resources/channel#start-thread-in-forum-or-media-channel}
688
688
  * @param channelId - The id of the forum channel to start the thread in
689
689
  * @param body - The data for starting the thread
690
690
  * @param options - The options for starting the thread
@@ -3023,7 +3023,7 @@ __name(withFiles, "withFiles");
3023
3023
 
3024
3024
  // src/index.ts
3025
3025
  __reExport(src_exports, require("discord-api-types/v10"), module.exports);
3026
- var version = "2.0.1-dev.1725624267-dea68400a";
3026
+ var version = "2.0.1-dev.1726013484-799fa54fa";
3027
3027
  // Annotate the CommonJS export names for ESM import in node:
3028
3028
  0 && (module.exports = {
3029
3029
  API,