Elementium Sign in
Contents

Timers & delays · Step

Lock channel for a time

Lock a channel now and unlock it again after a while.

Basic plan timer.temp_lock

In a flow

“When a button is clicked, lock channel for a time.”

Lock #general for 10m during a raid

What it does

Lock a channel now and unlock it again after a while. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. It gives 2 values later steps can use. Find it under Timers & delays in the palette.

When to use it

Use it when timing matters: lock a channel now and unlock it again after a while.

When not to

If nothing should change in Discord, a value node or a check is lighter.

Typical wiring

Sockets: settings you can wire

Channel Channel

The channel to lock. Leave empty for here.

What goes there: Type it in the side panel, or wire in a channel. e.g. #general

If it's empty: Optional. Left empty and unwired, the step runs without it.

Connects fromArchive channelAsk a questionCopy channelCopy permissionsCreate categoryCreate channelCreate forum postCreate threadand 60 more

For Role

Who can't talk while it's locked. Leave empty for @everyone.

What goes there: Type it in the side panel, or wire in a role. e.g. @Verified

If it's empty: Optional. Left empty and unwired, the step runs without it.

Connects fromAsk a questionCopy a roleCreate roleFind role by nameHighest roleMember detailsPersonal colour roleRead settingand 3 more

For how long Text

How long: like 10m, 2h, 1d 12h or 3mo (a plain number is seconds). At most a year. Variables allowed.

What goes there: Type it in the side panel, or wire in text. e.g. Hello there

If it's empty: Optional. Left empty and unwired, it uses 10m.

Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 844 more

Values it gives

When Number

When it happens, as Unix time. e.g. 1792521000

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 718 more

When, in Discord Text

A Discord timestamp that shows the time in each reader's own clock. e.g. <t:1792521000:R>

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 577 more

Shortcuts

Often next

Related in Timers & delays

Wires and sockets · Data values · Plans