$fetchArchivedThreads
$fetchArchivedThreads will return all archived threads of a given channel.
Usage
$fetchArchivedThreads[channelID;option?]Parameters
| Field | Type | Description | Required |
|---|---|---|---|
| channelID | number | Channel ID of the channel of which you want to fetch the archived threads of. | true |
| option? | string | How to return the archived threads. 1. name (default) 2. id | false |
Example(s)
This will return all archived threads, if any:
1client.command({2 name: "fetchArchivedThreads",3 code: `4 $fetchArchivedThreads[$channelID;name]5 `6});