mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 20:43:30 +01:00
refactor(FetchThreadsOptions): Remove active (#9241)
* refactor(FetchThreadsOptions): remove `active` * docs(FetchThreadsOptions): update description --------- Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
@@ -75,10 +75,9 @@ class ThreadManager extends CachedManager {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The options for fetching multiple threads, the properties are mutually exclusive
|
* Options for fetching multiple threads.
|
||||||
* @typedef {Object} FetchThreadsOptions
|
* @typedef {Object} FetchThreadsOptions
|
||||||
* @property {FetchArchivedThreadOptions} [archived] The options used to fetch archived threads
|
* @property {FetchArchivedThreadOptions} [archived] Options used to fetch archived threads
|
||||||
* @property {boolean} [active] When true, fetches active threads. <warn>If `archived` is set, this is ignored!</warn>
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
1
packages/discord.js/typings/index.d.ts
vendored
1
packages/discord.js/typings/index.d.ts
vendored
@@ -5239,7 +5239,6 @@ export type FetchThreadMembersOptions =
|
|||||||
|
|
||||||
export interface FetchThreadsOptions {
|
export interface FetchThreadsOptions {
|
||||||
archived?: FetchArchivedThreadOptions;
|
archived?: FetchArchivedThreadOptions;
|
||||||
active?: boolean;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface AttachmentPayload {
|
export interface AttachmentPayload {
|
||||||
|
|||||||
Reference in New Issue
Block a user