How to use it
- Add it from LogicOpen the node library and choose Cooldown from Logic.
- Connect the workflow pathConnect Flow in from the previous step and Flow to the next step.
- Choose settings and connect valuesSet On Cooldown, Scope, Seconds. Connections can also supply values produced by earlier nodes.
Settings
These are the options shown when you add this node. A connected value can replace a setting when the workflow runs.
| Setting | Starting value | What it controls |
|---|---|---|
| On Cooldown | stop | Chooses what happens when the limit has not yet expired. |
| Scope | user | Chooses whether the limit is tracked for each user, channel, server, or bot. |
| Seconds | 60 | Used when Seconds is not connected from an earlier node. |
Value connections
Value connections pass information between nodes without changing the order of the workflow. When an input is not connected, BotFrame uses the value selected in the node or details from the starting Discord event when available.
Inputs
Outputs
This item has no separate value output. Its Flow connection continues the workflow.
What happens when it runs
When the workflow reaches this node, it uses the configured and connected values, completes its action, and follows the appropriate outgoing connection.
You can use this item in a published BotFrame workflow. You can also test it in the simulator.