@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/http-only.d.mts +14 -14
- package/dist/http-only.d.ts +14 -14
- package/dist/http-only.js +15 -15
- package/dist/http-only.js.map +1 -1
- package/dist/http-only.mjs +15 -15
- package/dist/http-only.mjs.map +1 -1
- package/dist/index.d.mts +14 -14
- package/dist/index.d.ts +14 -14
- package/dist/index.js +15 -15
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +15 -15
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -344,7 +344,7 @@ var ChannelsAPI = class {
|
|
|
344
344
|
/**
|
|
345
345
|
* Sends a message in a channel
|
|
346
346
|
*
|
|
347
|
-
* @see {@link https://discord.com/developers/docs/resources/
|
|
347
|
+
* @see {@link https://discord.com/developers/docs/resources/message#create-message}
|
|
348
348
|
* @param channelId - The id of the channel to send the message in
|
|
349
349
|
* @param body - The data for sending the message
|
|
350
350
|
* @param options - The options for sending the message
|
|
@@ -359,7 +359,7 @@ var ChannelsAPI = class {
|
|
|
359
359
|
/**
|
|
360
360
|
* Edits a message
|
|
361
361
|
*
|
|
362
|
-
* @see {@link https://discord.com/developers/docs/resources/
|
|
362
|
+
* @see {@link https://discord.com/developers/docs/resources/message#edit-message}
|
|
363
363
|
* @param channelId - The id of the channel the message is in
|
|
364
364
|
* @param messageId - The id of the message to edit
|
|
365
365
|
* @param body - The data for editing the message
|
|
@@ -375,7 +375,7 @@ var ChannelsAPI = class {
|
|
|
375
375
|
/**
|
|
376
376
|
* Fetches the reactions for a message
|
|
377
377
|
*
|
|
378
|
-
* @see {@link https://discord.com/developers/docs/resources/
|
|
378
|
+
* @see {@link https://discord.com/developers/docs/resources/message#get-reactions}
|
|
379
379
|
* @param channelId - The id of the channel the message is in
|
|
380
380
|
* @param messageId - The id of the message to get the reactions for
|
|
381
381
|
* @param emoji - The emoji to get the reactions for
|
|
@@ -391,7 +391,7 @@ var ChannelsAPI = class {
|
|
|
391
391
|
/**
|
|
392
392
|
* Deletes a reaction for the current user
|
|
393
393
|
*
|
|
394
|
-
* @see {@link https://discord.com/developers/docs/resources/
|
|
394
|
+
* @see {@link https://discord.com/developers/docs/resources/message#delete-own-reaction}
|
|
395
395
|
* @param channelId - The id of the channel the message is in
|
|
396
396
|
* @param messageId - The id of the message to delete the reaction for
|
|
397
397
|
* @param emoji - The emoji to delete the reaction for
|
|
@@ -405,7 +405,7 @@ var ChannelsAPI = class {
|
|
|
405
405
|
/**
|
|
406
406
|
* Deletes a reaction for a user
|
|
407
407
|
*
|
|
408
|
-
* @see {@link https://discord.com/developers/docs/resources/
|
|
408
|
+
* @see {@link https://discord.com/developers/docs/resources/message#delete-user-reaction}
|
|
409
409
|
* @param channelId - The id of the channel the message is in
|
|
410
410
|
* @param messageId - The id of the message to delete the reaction for
|
|
411
411
|
* @param emoji - The emoji to delete the reaction for
|
|
@@ -420,7 +420,7 @@ var ChannelsAPI = class {
|
|
|
420
420
|
/**
|
|
421
421
|
* Deletes all reactions for a message
|
|
422
422
|
*
|
|
423
|
-
* @see {@link https://discord.com/developers/docs/resources/
|
|
423
|
+
* @see {@link https://discord.com/developers/docs/resources/message#delete-all-reactions}
|
|
424
424
|
* @param channelId - The id of the channel the message is in
|
|
425
425
|
* @param messageId - The id of the message to delete the reactions for
|
|
426
426
|
* @param options - The options for deleting the reactions
|
|
@@ -431,7 +431,7 @@ var ChannelsAPI = class {
|
|
|
431
431
|
/**
|
|
432
432
|
* Deletes all reactions of an emoji for a message
|
|
433
433
|
*
|
|
434
|
-
* @see {@link https://discord.com/developers/docs/resources/
|
|
434
|
+
* @see {@link https://discord.com/developers/docs/resources/message#delete-all-reactions-for-emoji}
|
|
435
435
|
* @param channelId - The id of the channel the message is in
|
|
436
436
|
* @param messageId - The id of the message to delete the reactions for
|
|
437
437
|
* @param emoji - The emoji to delete the reactions for
|
|
@@ -443,7 +443,7 @@ var ChannelsAPI = class {
|
|
|
443
443
|
/**
|
|
444
444
|
* Adds a reaction to a message
|
|
445
445
|
*
|
|
446
|
-
* @see {@link https://discord.com/developers/docs/resources/
|
|
446
|
+
* @see {@link https://discord.com/developers/docs/resources/message#create-reaction}
|
|
447
447
|
* @param channelId - The id of the channel the message is in
|
|
448
448
|
* @param messageId - The id of the message to add the reaction to
|
|
449
449
|
* @param emoji - The emoji to add the reaction with
|
|
@@ -486,7 +486,7 @@ var ChannelsAPI = class {
|
|
|
486
486
|
/**
|
|
487
487
|
* Fetches the messages of a channel
|
|
488
488
|
*
|
|
489
|
-
* @see {@link https://discord.com/developers/docs/resources/
|
|
489
|
+
* @see {@link https://discord.com/developers/docs/resources/message#get-channel-messages}
|
|
490
490
|
* @param channelId - The id of the channel to fetch messages from
|
|
491
491
|
* @param query - The query options for fetching messages
|
|
492
492
|
* @param options - The options for fetching the messages
|
|
@@ -531,7 +531,7 @@ var ChannelsAPI = class {
|
|
|
531
531
|
/**
|
|
532
532
|
* Deletes a message
|
|
533
533
|
*
|
|
534
|
-
* @see {@link https://discord.com/developers/docs/resources/
|
|
534
|
+
* @see {@link https://discord.com/developers/docs/resources/message#delete-message}
|
|
535
535
|
* @param channelId - The id of the channel the message is in
|
|
536
536
|
* @param messageId - The id of the message to delete
|
|
537
537
|
* @param options - The options for deleting the message
|
|
@@ -542,7 +542,7 @@ var ChannelsAPI = class {
|
|
|
542
542
|
/**
|
|
543
543
|
* Bulk deletes messages
|
|
544
544
|
*
|
|
545
|
-
* @see {@link https://discord.com/developers/docs/resources/
|
|
545
|
+
* @see {@link https://discord.com/developers/docs/resources/message#bulk-delete-messages}
|
|
546
546
|
* @param channelId - The id of the channel the messages are in
|
|
547
547
|
* @param messageIds - The ids of the messages to delete
|
|
548
548
|
* @param options - The options for deleting the messages
|
|
@@ -553,7 +553,7 @@ var ChannelsAPI = class {
|
|
|
553
553
|
/**
|
|
554
554
|
* Fetches a message
|
|
555
555
|
*
|
|
556
|
-
* @see {@link https://discord.com/developers/docs/resources/
|
|
556
|
+
* @see {@link https://discord.com/developers/docs/resources/message#get-channel-message}
|
|
557
557
|
* @param channelId - The id of the channel the message is in
|
|
558
558
|
* @param messageId - The id of the message to fetch
|
|
559
559
|
* @param options - The options for fetching the message
|
|
@@ -566,7 +566,7 @@ var ChannelsAPI = class {
|
|
|
566
566
|
/**
|
|
567
567
|
* Crossposts a message
|
|
568
568
|
*
|
|
569
|
-
* @see {@link https://discord.com/developers/docs/resources/
|
|
569
|
+
* @see {@link https://discord.com/developers/docs/resources/message#crosspost-message}
|
|
570
570
|
* @param channelId - The id of the channel the message is in
|
|
571
571
|
* @param messageId - The id of the message to crosspost
|
|
572
572
|
* @param options - The options for crossposting the message
|
|
@@ -646,7 +646,7 @@ var ChannelsAPI = class {
|
|
|
646
646
|
/**
|
|
647
647
|
* Creates a new forum post
|
|
648
648
|
*
|
|
649
|
-
* @see {@link https://discord.com/developers/docs/resources/channel#start-thread-in-forum-channel}
|
|
649
|
+
* @see {@link https://discord.com/developers/docs/resources/channel#start-thread-in-forum-or-media-channel}
|
|
650
650
|
* @param channelId - The id of the forum channel to start the thread in
|
|
651
651
|
* @param body - The data for starting the thread
|
|
652
652
|
* @param options - The options for starting the thread
|
|
@@ -3014,7 +3014,7 @@ __name(withFiles, "withFiles");
|
|
|
3014
3014
|
|
|
3015
3015
|
// src/index.ts
|
|
3016
3016
|
export * from "discord-api-types/v10";
|
|
3017
|
-
var version = "2.0.1-dev.
|
|
3017
|
+
var version = "2.0.1-dev.1726013484-799fa54fa";
|
|
3018
3018
|
export {
|
|
3019
3019
|
API,
|
|
3020
3020
|
ApplicationCommandsAPI,
|