ThreadManager
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)
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
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.