---
description: Send embeds or plain text messages with scheduled intervals!
---

# Timed Messages

<figure><img src="https://219320181-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUFvHsoL9BBp2R9O7AfCe%2Fuploads%2FRGC8L6OnNDlyZqCgBks2%2Ft1.png?alt=media&#x26;token=ec118fac-d279-4e6b-958b-f4329255271d" alt=""><figcaption></figcaption></figure>

The [Timed Messages](https://vyral.bot/dashboard/demo/module/5f1b4c67-b37b-487c-8287-a694b1e01ce8) module will have your bot send a message to channels at repeated scheduled intervals.

## Settings <a href="#settings" id="settings"></a>

### Create Timed Message <a href="#create-timed-message" id="create-timed-message"></a>

New timed messages may be created within this part of the module. Click the add button at the very bottom left of this image to add it to the active timed messages.

<figure><img src="https://219320181-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUFvHsoL9BBp2R9O7AfCe%2Fuploads%2F2OiLJWRc7hDszsJX4hRu%2Ft2.png?alt=media&#x26;token=6f8465ef-50c2-4255-b6a4-3e1b44699506" alt=""><figcaption></figcaption></figure>

#### **Timed Message Name**

This field is the input for a unique name for the timed message.

#### **Channel Selection**

Select any text or announcement channel in your server to send the timed message to.

#### **Time Interval - Days**

In this field is the delay amount in days between timed messages (If blank it defaults to 0).

#### **Time Interval - Hours**

In this field is the delay amount in hours between timed messages (If blank it defaults to 0).

#### **Time Interval - Minutes**

Choose a delay between 0 and 60 minutes with 5-minute intervals. Default is 0 minutes.

#### **Message**

This is where you can setup the contents of a **plain text** or **embed** message. You may toggle it by clicking on the switch in the corner.

#### **Block Stacked Messages**

If enabled, when the timed message is executed the bot will check if the last message in the channel was by your bot. If so it will skip the sending of this timed message.

{% hint style="info" %}
To save the timed message settings, you need to click "Add" in the bottom-right corner of the settings. This will reset the fields so you can set up another timed message.
{% endhint %}

### Active Timed Messages <a href="#active-timed-messages" id="active-timed-messages"></a>

These are timed events that are already created in the module and can be edited or deleted underneath the options to create / edit a new timed message.

{% hint style="info" %}
To save the edits you made on the rotating status's settings, you need to click "Edit" in the bottom-right corner of the settings.
{% endhint %}

<figure><img src="https://219320181-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUFvHsoL9BBp2R9O7AfCe%2Fuploads%2FqsNJqlqgveZPyMQrM6hz%2Ft3.png?alt=media&#x26;token=315a0512-a248-48cf-938f-eb51527141ad" alt=""><figcaption></figcaption></figure>

***

## Events <a href="#events" id="events"></a>

Below you may find some information on each event of the module.

<details>

<summary>Timed Messages Handler</summary>

This event will search for all active timed events, loop through and send them at a specific interval.

</details>
