Actions › Messages
Send Message
Sends a new message to a specific channel — works from any Event, not just an interaction
- 1 credit
- Outputs: Success, Failure
- Undone after a test
Fields
What you set in Properties. The grey name is the one in the Blueprint's JSON.
| Field | What it does | |
|---|---|---|
Channel channelId | The channel this action applies to | required |
Content content | The message text | optional |
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 |
In reply to replyToId | A message of the same channel this one answers. If it was deleted meanwhile, the message goes without the reply. | optional |
What it passes on
On the Success output, for the nodes after it. Click a value in the editor to copy its reference.
| Data | Path | Type | |
|---|---|---|---|
| ID | message.id | Text | |
| Content | message.content | Text | can be empty |
| URL | message.url | Text | |
| Created At | message.createdAt | Date | can be empty |
| Edited At | message.editedAt | Date | can be empty |
| Author ▸ ID | message.author.id | Text | can be empty |
| Data | Path | Type | |
|---|---|---|---|
| Author ▸ Username | message.author.username | Text | can be empty |
| Author ▸ Display Name | message.author.displayName | Text | can be empty |
| Author ▸ Is a Bot | message.author.bot | Yes/No | can be empty |
| Channel ▸ ID | message.channel.id | Text | |
| Channel ▸ Name | message.channel.name | Text | can be empty |
| Mentions ▸ Members | message.mentions.members | List | |
| Mentions ▸ Roles | message.mentions.roles | List | |
| Mentions ▸ Mentions @everyone | message.mentions.everyone | Yes/No | |
| Attachments | message.attachments | List | |
| Replying to ▸ ID | message.replyTo.id | Text | can be empty |
| Thread ▸ ID | message.thread.id | Text | can be empty |
| Thread ▸ Name | message.thread.name | Text | can be empty |
| Pinned | message.pinned | Yes/No | can 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
View Channels, Send Messages, Embed Links
What each one allows, and how to grant one later: Bot permissions.