Skip to content

Commit

Permalink
refactor(FetchThreadsOptions): Remove active (discordjs#9241)
Browse files Browse the repository at this point in the history
* refactor(FetchThreadsOptions): remove `active`

* docs(FetchThreadsOptions): update description

---------

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
Jiralite and kodiakhq[bot] committed Mar 23, 2023
1 parent c2dd56b commit b3431a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 2 additions & 3 deletions src/managers/ThreadManager.js
Expand Up @@ -59,10 +59,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
*/

/**
Expand Down
1 change: 0 additions & 1 deletion typings/index.d.ts
Expand Up @@ -5076,7 +5076,6 @@ export interface FetchReactionUsersOptions {

export interface FetchThreadsOptions {
archived?: FetchArchivedThreadOptions;
active?: boolean;
}

export interface FileOptions {
Expand Down

0 comments on commit b3431a3

Please sign in to comment.