mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 09:03:29 +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
|
||||
* @property {FetchArchivedThreadOptions} [archived] The options used to fetch archived threads
|
||||
* @property {boolean} [active] When true, fetches active threads. <warn>If `archived` is set, this is ignored!</warn>
|
||||
* @property {FetchArchivedThreadOptions} [archived] Options used to fetch archived threads
|
||||
*/
|
||||
|
||||
/**
|
||||
|
||||
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 {
|
||||
archived?: FetchArchivedThreadOptions;
|
||||
active?: boolean;
|
||||
}
|
||||
|
||||
export interface AttachmentPayload {
|
||||
|
||||
Reference in New Issue
Block a user