@discordjs/core 1.2.1-dev.1715861066-92c1a511d → 1.3.0-dev.1716120218-b36ec9838
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 +1 -1
- package/dist/http-only.d.ts +1 -1
- package/dist/http-only.js +3 -2
- package/dist/http-only.js.map +1 -1
- package/dist/http-only.mjs +3 -2
- package/dist/http-only.mjs.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/http-only.d.mts
CHANGED
|
@@ -379,7 +379,7 @@ declare class ChannelsAPI {
|
|
|
379
379
|
* @param webhookChannelId - The id of the webhook channel to follow the announcements in
|
|
380
380
|
* @param options - The options for following the announcement channel
|
|
381
381
|
*/
|
|
382
|
-
followAnnouncements(channelId: Snowflake, webhookChannelId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIFollowedChannel>;
|
|
382
|
+
followAnnouncements(channelId: Snowflake, webhookChannelId: Snowflake, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<discord_api_types_v10.APIFollowedChannel>;
|
|
383
383
|
/**
|
|
384
384
|
* Creates a new invite for a channel
|
|
385
385
|
*
|
package/dist/http-only.d.ts
CHANGED
|
@@ -379,7 +379,7 @@ declare class ChannelsAPI {
|
|
|
379
379
|
* @param webhookChannelId - The id of the webhook channel to follow the announcements in
|
|
380
380
|
* @param options - The options for following the announcement channel
|
|
381
381
|
*/
|
|
382
|
-
followAnnouncements(channelId: Snowflake, webhookChannelId: Snowflake, { signal }?: Pick<RequestData, 'signal'>): Promise<discord_api_types_v10.APIFollowedChannel>;
|
|
382
|
+
followAnnouncements(channelId: Snowflake, webhookChannelId: Snowflake, { reason, signal }?: Pick<RequestData, 'reason' | 'signal'>): Promise<discord_api_types_v10.APIFollowedChannel>;
|
|
383
383
|
/**
|
|
384
384
|
* Creates a new invite for a channel
|
|
385
385
|
*
|
package/dist/http-only.js
CHANGED
|
@@ -567,9 +567,10 @@ var ChannelsAPI = class {
|
|
|
567
567
|
* @param webhookChannelId - The id of the webhook channel to follow the announcements in
|
|
568
568
|
* @param options - The options for following the announcement channel
|
|
569
569
|
*/
|
|
570
|
-
async followAnnouncements(channelId, webhookChannelId, { signal } = {}) {
|
|
570
|
+
async followAnnouncements(channelId, webhookChannelId, { reason, signal } = {}) {
|
|
571
571
|
return this.rest.post(import_v103.Routes.channelFollowers(channelId), {
|
|
572
572
|
body: { webhook_channel_id: webhookChannelId },
|
|
573
|
+
reason,
|
|
573
574
|
signal
|
|
574
575
|
});
|
|
575
576
|
}
|
|
@@ -2709,7 +2710,7 @@ __name(withFiles, "withFiles");
|
|
|
2709
2710
|
|
|
2710
2711
|
// src/http-only/index.ts
|
|
2711
2712
|
__reExport(http_only_exports, require("discord-api-types/v10"), module.exports);
|
|
2712
|
-
var version = "1.
|
|
2713
|
+
var version = "1.3.0-dev.1716120218-b36ec9838";
|
|
2713
2714
|
// Annotate the CommonJS export names for ESM import in node:
|
|
2714
2715
|
0 && (module.exports = {
|
|
2715
2716
|
API,
|