# Direct message

> Message a member privately, with buttons and files if you like.

Source: https://docs.buildcord.dev/nodes/messages/direct-message/

`message.dm` sends a private message to a member.

## Settings

| Setting | What it does |
| --- | --- |
| Member | Who to message. Defaults to `{user}`. A member's ID, a mention, or a token such as `{option.member}`. |
| Message | The text to send. |
| Embed | One of your embeds. |
| Buttons and menus | One of your component sets. Buttons with an action work in a DM like anywhere else. |
| Attach files | Addresses of files, one per line. |
| Mentions that notify | See [Mentions](https://docs.buildcord.dev/nodes/messages#mentions). |

## Ways out

`out`.

## Produces

`{sent.id}`, `{sent.channel}` and `{sent.link}`: the message just sent.

## Notes

> **Warning**
>
> Members can turn off direct messages from server members, and then Discord refuses the message. Turn on **If it fails** and wire the red way out to a fallback, such as a [Reply](https://docs.buildcord.dev/nodes/messages/reply).

## Example

Send a ban notice to `{option.member}` before running [Ban a member](https://docs.buildcord.dev/nodes/members/ban), with an **Appeal** button that starts a button action.

## Related

- [Send to a channel](https://docs.buildcord.dev/nodes/messages/send-to-channel)
