Skip to Content
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.
Uses each timeHow many times it's let through within the seconds, up to 20. With 3600 seconds and 5 uses, it lets through 5 an hour. The default is 1.
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.

Was this page helpful?