Skip to content
Entity Info archivedThreads

$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

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

Try it

Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.