Skip to main content

Repeat blocks (loops)

A loop runs the same blocks again and again, a set number of times. Search repeat in the block list.
  1. Add the repeat block and choose how many times.
  2. Put the blocks you want repeated inside it.
  3. To stop early, add the block that stops repeating (for example after a Compare finds what you were looking for).
Example: a countdown that says 3, 2, 1, Go! with a pause between each.
Keep loops small. Discord does not like bots that send lots of messages very fast.

Pause

The Pause block waits before the next block runs. Use it to give people a moment to read, like “Closing this ticket…” before the channel is deleted.

Show typing

The block that shows the bot is typing (search typing) makes the “bot is typing…” text appear in the channel for a few seconds, so a slow answer feels natural.