@discordjs/core 3.0.0-dev.1750248354-127bb5963 → 3.0.0-dev.1750637711-cd76c9a47
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 +3 -4
- package/dist/http-only.d.ts +3 -4
- package/dist/http-only.js +5 -5
- package/dist/http-only.js.map +1 -1
- package/dist/http-only.mjs +5 -5
- package/dist/http-only.mjs.map +1 -1
- package/dist/index.d.mts +3 -4
- package/dist/index.d.ts +3 -4
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
package/dist/index.mjs
CHANGED
|
@@ -2936,9 +2936,9 @@ var WebhooksAPI = class {
|
|
|
2936
2936
|
* @param body - The data for executing the webhook
|
|
2937
2937
|
* @param options - The options for executing the webhook
|
|
2938
2938
|
*/
|
|
2939
|
-
async execute(id, token, { wait, thread_id, files, ...body }, { signal } = {}) {
|
|
2939
|
+
async execute(id, token, { wait, thread_id, with_components, files, ...body }, { signal } = {}) {
|
|
2940
2940
|
return this.rest.post(Routes17.webhook(id, token), {
|
|
2941
|
-
query: makeURLSearchParams10({ wait, thread_id }),
|
|
2941
|
+
query: makeURLSearchParams10({ wait, thread_id, with_components }),
|
|
2942
2942
|
files,
|
|
2943
2943
|
body,
|
|
2944
2944
|
auth: false,
|
|
@@ -3008,9 +3008,9 @@ var WebhooksAPI = class {
|
|
|
3008
3008
|
* @param body - The data for editing the message
|
|
3009
3009
|
* @param options - The options for editing the message
|
|
3010
3010
|
*/
|
|
3011
|
-
async editMessage(id, token, messageId, { thread_id, files, ...body }, { signal } = {}) {
|
|
3011
|
+
async editMessage(id, token, messageId, { thread_id, with_components, files, ...body }, { signal } = {}) {
|
|
3012
3012
|
return this.rest.patch(Routes17.webhookMessage(id, token, messageId), {
|
|
3013
|
-
query: makeURLSearchParams10({ thread_id }),
|
|
3013
|
+
query: makeURLSearchParams10({ thread_id, with_components }),
|
|
3014
3014
|
auth: false,
|
|
3015
3015
|
body,
|
|
3016
3016
|
signal,
|
|
@@ -3326,7 +3326,7 @@ __name(withFiles, "withFiles");
|
|
|
3326
3326
|
|
|
3327
3327
|
// src/index.ts
|
|
3328
3328
|
export * from "discord-api-types/v10";
|
|
3329
|
-
var version = "3.0.0-dev.
|
|
3329
|
+
var version = "3.0.0-dev.1750637711-cd76c9a47";
|
|
3330
3330
|
export {
|
|
3331
3331
|
API,
|
|
3332
3332
|
ApplicationCommandsAPI,
|