> For the complete documentation index, see [llms.txt](https://docs.tempomonitors.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tempomonitors.com/admin-commands/dm-command.md).

# DM Command

Use this command to toggle on and off, the option for users to receive DM alerts for restocks. Example:

```
!m dm
```

Once you have activated the DM alerts you will notice that all future item restock embeds will have two reacts automatically added by your Tempo Monitors Discord bot.

<figure><img src="https://4204487504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSKqJLBRUMbNMQhGsZKLn%2Fuploads%2F1VbUx0TiL3G1BnrXcclh%2Fimage.png?alt=media&amp;token=c22f1331-0628-468b-a6ac-f5b705dfe198" alt=""><figcaption><p>Example restock embed with the DM alert reacts added</p></figcaption></figure>

The first react (:loud\_sound:) can be clicked by users in order to enable DM alerts for any future restocks for the item. A DM will then be sent to the user from your Tempo Monitors Discord bot to confirm their action has been registered.

<figure><img src="https://4204487504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSKqJLBRUMbNMQhGsZKLn%2Fuploads%2FrhHKq0z25ToVXZrjeKBV%2Fimage.png?alt=media&amp;token=f46c9386-ac6e-41ce-853b-7511badf6f3e" alt=""><figcaption><p>Example of DM to confirm user has enabled DM alerts for an item</p></figcaption></figure>

The second react (:mute:) can be clicked by users in order to disable DM alerts for any future restocks for the item. A DM will then be sent to the user from your Tempo Monitors Discord bot to confirm their action has been registered.

<figure><img src="https://4204487504-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSKqJLBRUMbNMQhGsZKLn%2Fuploads%2FvgL0EmOErt7iJ3YTHdGo%2Fimage.png?alt=media&amp;token=ed8c8d17-7fef-4b77-871b-a880cf308a66" alt=""><figcaption><p>Example of DM to confirm user has disabled DM alerts for an item</p></figcaption></figure>

## DM alerts role

Setting a DM alerts role is optional. Until a role is set, every user can receive DM alerts for restocks.

Use this command to set the role users must have in order to receive DM alerts for restocks. This command requires you to mention the role. Example:

```
!m dm role @desired-role
```

Once a role is set, only members with that role will receive DM alerts for restocks. Users without the role who click the :loud\_sound: react will not have DM alerts enabled, and will instead receive a DM letting them know they need the role. Users who had already enabled DM alerts but do not have the role will have all of their saved DM alerts removed the next time one of those alerts would be sent to them.

Use this command to remove the role requirement, so every user can receive DM alerts again. Example:

```
!m dm role remove
```
