Skip to content
Entity Info threadIsLocked

$threadIsLocked — Returns whether a thread is locked.

Returns whether a thread is locked.

Syntax

$threadIsLocked[channelID]

Parameters

  • channelID (id, required) — The thread to check if its locked

Return Value

  • Boolean.

Usage

$threadIsLocked[channelID] → result

Example

$sendMessage[$threadIsLocked[35]]

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.