BuildcordDocs

Direct message

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

message.dm sends a private message to a member.

Settings

SettingWhat it does
MemberWho to message. Defaults to {user}. A member's ID, a mention, or a token such as {option.member}.
MessageThe text to send.
EmbedOne of your embeds.
Buttons and menusOne of your component sets. Buttons with an action work in a DM like anywhere else.
Attach filesAddresses of files, one per line.
Mentions that notifySee Mentions.

Ways out

out.

Produces

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

Notes

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.

Example

Send a ban notice to {option.member} before running Ban a member, with an Appeal button that starts a button action.

On this page