@discordjs/core 3.0.0-dev.1777075897-40ce0791a → 3.0.0-dev.1779528402-e721e51b0
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 +4 -3
- package/dist/http-only.d.ts +4 -3
- package/dist/http-only.js +6 -4
- package/dist/http-only.js.map +1 -1
- package/dist/http-only.mjs +6 -4
- package/dist/http-only.mjs.map +1 -1
- package/dist/index.d.mts +4 -3
- package/dist/index.d.ts +4 -3
- package/dist/index.js +6 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -2715,16 +2715,18 @@ var ThreadsAPI = class {
|
|
|
2715
2715
|
});
|
|
2716
2716
|
}
|
|
2717
2717
|
/**
|
|
2718
|
-
* Fetches
|
|
2718
|
+
* Fetches members of a thread
|
|
2719
2719
|
*
|
|
2720
2720
|
* @see {@link https://discord.com/developers/docs/resources/channel#list-thread-members}
|
|
2721
2721
|
* @param threadId - The id of the thread to fetch the members from
|
|
2722
|
+
* @param query - The query for fetching the members
|
|
2722
2723
|
* @param options - The options for fetching the members
|
|
2723
2724
|
*/
|
|
2724
|
-
async
|
|
2725
|
+
async getMembers(threadId, query = {}, { auth, signal } = {}) {
|
|
2725
2726
|
return this.rest.get(Routes15.threadMembers(threadId), {
|
|
2726
2727
|
auth,
|
|
2727
|
-
signal
|
|
2728
|
+
signal,
|
|
2729
|
+
query: makeURLSearchParams9(query)
|
|
2728
2730
|
});
|
|
2729
2731
|
}
|
|
2730
2732
|
};
|
|
@@ -3426,7 +3428,7 @@ __name(withFiles, "withFiles");
|
|
|
3426
3428
|
// src/index.ts
|
|
3427
3429
|
export * from "discord-api-types/v10";
|
|
3428
3430
|
import { GatewayRateLimitError as GatewayRateLimitError2 } from "@discordjs/util";
|
|
3429
|
-
var version = "3.0.0-dev.
|
|
3431
|
+
var version = "3.0.0-dev.1779528402-e721e51b0";
|
|
3430
3432
|
export {
|
|
3431
3433
|
API,
|
|
3432
3434
|
ApplicationCommandsAPI,
|