Piecewise

Build chat bots with blocks

(operation) thread (thread)

In Discord → Threads

Jump to block

(Un)archive or (un)lock a thread.

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

Parameters

Parameter name Parameter type Required? Description
operation any The operation to perform on this channel ([un]archive or [un]lock).
thread channel The thread to (un)archive or (un)lock.

Output

void - This is a statement with no outputs