Actions › Messages

Send Direct Message

Sends a direct message to a member
  • 2 credits
  • Outputs: Success, Failure
  • Undone after a test

Fields

What you set in Properties. The grey name is the one in the Blueprint's JSON.

FieldWhat it does
User
userId
The member this action applies torequired
Content
content
The message textoptional
Allow @everyone and @here
allowEveryone
Without this, @everyone and @here written in the text notify no one. A mention inside an inserted value never notifies.optional
Silent message
silent
Sends no notification, even to the members it mentions.optional
Hide link previews
suppressEmbeds
The message's links show no preview. Its own embeds stay.optional
Poll
poll
A native Discord poll under the message, set in the Message Builder.optional
Files
files
Images or files attached to the message, by their https address (10 at most, 8 MB each). A reference to an attachment works too.optional

What it passes on

On the Success output, for the nodes after it. Click a value in the editor to copy its reference.

DataPathType
IDmessage.idText
Contentmessage.contentTextcan be empty
URLmessage.urlText
Created Atmessage.createdAtDatecan be empty
Edited Atmessage.editedAtDatecan be empty
Author ▸ IDmessage.author.idTextcan be empty

When it fails

The Failure output receives success (false) and error: error.code, error.message in the server's language, and error.detail, what Discord said. The possible causes are in Errors.

Discord permissions

None: the bot needs no server permission for this node.