Skip to main content

Cooldown

Runs on: Backend.

Limits how often a path runs. Data goes down Pass if the cooldown has elapsed since the last pass, otherwise down Blocked.

Inputs​

NameTypeDescription
anyanyAny data. Only timing is checked.

Outputs​

NameTypeDescription
Passpass-throughThe input, if the cooldown has elapsed.
Blockedpass-throughThe input, if it hasn't.

Configuration​

  • Duration: The cooldown in seconds. After one pass, activations within this window go to Blocked.

Example​

After a !joke Chat Command trigger, add a Cooldown of 30 seconds. The first viewer gets a joke and anyone else within 30 seconds is blocked. Connect Blocked to a chat message saying "This command is on cooldown!" if you want a reply.