BuildcordDocs

Cooldown

Let a flow through only every so often.

logic.cooldown lets the first run through, then blocks later runs until the time has passed.

Settings

SettingWhat it does
SecondsHow long to wait between uses. The default is 30.
Counted perMember, Channel or Server. The default is Member.

Ways out

Way outTaken when
ReadyThe cooldown has passed, or this is the first use.
On cooldownIt hasn't.

Notes

  • Counted per member, each person has their own timer. Counted per server, one use blocks everyone.
  • Wire On cooldown to a private Reply so people know why nothing happened.
  • The canvas shows 30s per member.

Example

Limit /daily to once every 86400 seconds per member.

On this page