Piecewise

Build chat bots with blocks

create thread with name (name) in channel (channel) archive after (archivetime)

In Discord → Threads

Jump to block

Create a thread in a channel. NOTE: If targeting a channel, the thread will always be public.

Requires the following blocks to be present in the project: discord login

Parameters

Parameter name Parameter type Required? Description
name any The name of the thread.
channel channel The parent channel of this thread.
archivetime any Auto-archive the thread after this amount of inactive time.

Output

void - This is a statement with no outputs