# $archivedThreads

Lists the archived threads of a text channel. Bot Creator function, not in the official BDFD wiki.

## Syntax

```
$archivedThreads[channelID;(type);(separator);(property);(limit)]
```

## Parameters

| Parameter | Description |
|---|---|
| `channelID` | **Required.** The ID of the channel. |
| `type` | Optional. `public` (default) or `private`. |
| `separator` | Optional. Text placed between two values, `, ` by default. |
| `property` | Optional. Same as `$activeThreads`. |
| `limit` | Optional. 1 to 100, 50 by default. |

## Return Value

- One value per thread, joined by the separator.

## Example

```bdfd
$archivedThreads[$channelID;public;\n;name]
```
