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

# Timer

> ## Documentation Index
>
> Fetch the complete documentation index at: [https://docs.bleh.bot/llms.txt](https://docs.bleh.bot/llms.txt)
> Use this file to discover all available pages before exploring further.

# Auto Messages

> Schedule messages to be sent at an interval.

<Warning>
  You can only have **one** auto message per channel, and the interval must be
  at least **10 minutes**.
</Warning>

## Creating an auto message

You can create an auto message with the `timer add` command.

<Info>
  The `interval` parameter must use the proper format, you can learn more
  [here](/resources/syntax#formatting-a-duration).
</Info>

<Tip>
  The `message` parameter can be raw text or an [embed](/resources/scripting) with dynamic [variables](/resources/scripting/variables).
</Tip>

<CodeGroup>
  ```javascript Syntax theme={null} theme={null}
  ,timer add (channel) (interval) (message)
  ```

  ```javascript Example theme={null} theme={null}
  ,timer add #general 2h hey sexy ass people
  ```
</CodeGroup>

<br />

<Frame />

## Removing an auto message

You can remove an auto message with the `timer remove` command.

<CodeGroup>
  ```javascript Syntax theme={null} theme={null}
  ,timer remove (channel)
  ```

  ```javascript Example theme={null} theme={null}
  ,timer remove #general
  ```
</CodeGroup>

<br />

<Frame />

## Related commands

<AccordionGroup>
  <Accordion title="Viewing an auto messages">
    You can use the `timer view` command to view auto message.

    <CodeGroup>
      ```javascript Syntax theme={null} theme={null}
      ,timer view (channel)
      ```

      ```javascript Example theme={null} theme={null}
      ,timer view #general
      ```
    </CodeGroup>
  </Accordion>

  <Accordion title="Viewing all auto messages">
    You can use the `timer list` command to view all auto messages.
  </Accordion>
</AccordionGroup>
