Elementium Sign in
Contents

Logic · Step

Rate limit with reply

Carry on while uses fit in the limit; otherwise tell them to slow down and stop.

Free plan logic.rate_limit_reply

In a flow

“When a button is clicked, rate limit with reply.”

5 per minute: 'Slow down! Try again in 40 seconds.'

What it does

Carry on while uses fit in the limit; otherwise tell them to slow down and stop. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. It gives 1 value later steps can use. Find it under Logic in the palette.

When to use it

Use it to decide what happens next: carry on while uses fit in the limit; otherwise tell them to slow down and stop.

When not to

If nothing should change in Discord, a value node or a check is lighter.

Typical wiring

Sockets: settings you can wire

Times Number

How many uses fit in the window, like 5. At most 100.

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 5.

Connects fromA member's variablesAccept applicationActive membersAddAdd a forum tagAdd a labelAdd a row to a Google SheetAdd a staff noteand 500 more

Window (seconds) Number

How long the window is, like 60. At most 7 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

Reply Text

What they're told when the check stops them. Leave empty to stop without a word. Variables allowed.

What goes there: Type it in the side panel, or wire in text. e.g. Hello there

If it's empty: Optional. Left empty and unwired, it uses Slow down! Try again in {left}..

Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 844 more

Values it gives

Uses left Number

How many more fit in the window. 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

Shortcuts

Often next

Related in Logic

Wires and sockets · Data values · Plans