Logic · Step
Cooldown check
Check whether something is ready again, like a daily reward, and restart its timer.
logic.cooldown
In a flow
“When a button is clicked, cooldown check.”
daily, 86400 s → Ready true, then false for a day
What it does
Check whether something is ready again, like a daily reward, and restart its timer. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. It gives 3 values later steps can use. Find it under Logic in the palette.
When to use it
Use it to decide what happens next: check whether something is ready again, like a daily reward, and restart its timer.
When not to
If nothing should change in Discord, a value node or a check is lighter.
Typical wiring
Sockets: settings you can wire
- Whose Member
-
With Counted per = member: whose count, like the moderator from Look up audit log's By (antinuke). Unwired: whoever started the flow.
What goes there: Type it in the side panel, or wire in a member. e.g. @Alex
If it's empty: Optional. Left empty and unwired, the step runs without it.
Connects fromAccept applicationApplication infoAsk a questionAsk follow-upBoard as emojiCall the next in the queueCase createdCheck for a lineand 87 more
- Seconds Number
-
How long to wait between uses, like 86400 for a day. At most 30 days.
What goes there: Type it in the side panel, or wire in a number. e.g. 42
If it's empty: Optional. Left empty and unwired, it uses 60.
Connects fromA member's variablesAccept applicationActive membersAddAdd a forum tagAdd a labelAdd a row to a Google SheetAdd a staff noteand 500 more
Values it gives
- Ready Yes / no
-
True when the cooldown is over; wire it into an If. e.g. true
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAdd a forum tagAdd onboarding questionAdd to a counterAlarms that are dueAndAutoMod: Discord's word listsBluesky latest postBoard as emojiand 573 more
- Seconds left Number
-
How long until it's ready, 0 when it is. e.g. 42
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
- Time left Text
-
How long in words. e.g. 3 hours, 20 minutes
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 578 more
Shortcuts
- Cooldown with replyCooldown check → If / else in a row can be this one element.