ThreadManager
ThreadManager ⇐ BaseThreadManager
Section titled “ThreadManager ⇐ BaseThreadManager”A class representing a thread manager for a specific channel in a guild. Extends the BaseThreadManager class.
Kind: global class
Extends: BaseThreadManager
- ThreadManager ⇐
BaseThreadManager
new ThreadManager(channelId, guildId, client)
Section titled “new ThreadManager(channelId, guildId, client)”Constructs a new instance of the class.
| Param | Type | Description |
|---|---|---|
| channelId | string | The ID of the channel. |
| guildId | string | The ID of the guild. |
| client | Client | The client object. |
threadManager.cache ⇒ Array
Section titled “threadManager.cache ⇒ Array”Retrieves the cache items that have a parentId matching the channelId of the current instance.
Kind: instance property of ThreadManager
Returns: Array - An array of cache items that have a matching parentId.