Manages API methods for thread-based channels and stores their cache.
The channel this Manager belongs to
The client that instantiated this Manager
Obtains a thread from Discord, or the channel cache if it's already available.
|options||ThreadChannelResolvable||No||The options to fetch threads. If it is a ThreadChannelResolvable then the specified thread will be fetched. Fetches all active threads if |
|cacheOptions||BaseFetchOptions||Yes||Additional options for this fetch. The |
Obtains all active threads in the channel.
Obtains a set of archived threads from Discord. This method requires the PermissionFlagsBits.ReadMessageHistory permission in the parent channel.