mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
docs(FetchArchivedThreadOptions): before respects archive_timestamp, not creation timestamp (#9240)
docs(FetchArchivedThreadOptions): correct `before` description Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
@@ -118,7 +118,7 @@ class ThreadManager extends CachedManager {
|
||||
* @property {string} [type='public'] The type of threads to fetch (`public` or `private`)
|
||||
* @property {boolean} [fetchAll=false] Whether to fetch **all** archived threads when `type` is `private`
|
||||
* <info>This property requires the {@link PermissionFlagsBits.ManageThreads} permission if `true`.</info>
|
||||
* @property {DateResolvable|ThreadChannelResolvable} [before] Only return threads that were created before this Date
|
||||
* @property {DateResolvable|ThreadChannelResolvable} [before] Only return threads that were archived before this Date
|
||||
* or Snowflake
|
||||
* <warn>Must be a {@link ThreadChannelResolvable} when `type` is `private` and `fetchAll` is `false`.</warn>
|
||||
* @property {number} [limit] Maximum number of threads to return
|
||||
|
||||
Reference in New Issue
Block a user