> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dogebot.net/llms.txt
> Use this file to discover all available pages before exploring further.

# Loops and waiting

> Repeat blocks, stop repeating, and pause.

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

<Warning>
  Keep loops small. Discord does not like bots that send lots of messages very fast.
</Warning>

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


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.