Discord
Posts to a Discord channel through a webhook, as plain text, rich embeds, or both.
Kind
action:discordGroupDoes something
Credits5 credits
Ports out1
How it looks
Settings
| Setting | Required | What it does |
|---|---|---|
| Send withintegrationRef | Yes | A Discord integration: a channel's webhook. |
| Messagemessage | No | The text. Can be left out when there's an embed. Mentions like @everyone are never parsed. |
| Embedsembeds | No | Up to 10 cards, each with a title, link, description, colour (#RRGGBB), fields, footer, image, thumbnail and an optional timestamp. |
| Name and pictureusername, avatarUrl | No | Post under another name or picture than the webhook's own. |
| ThreadthreadId | No | A thread in the channel to post into. |
Ports
| Port | The run leaves by it when |
|---|---|
default | Discord saved the message. |
What it adds to the run
Later nodes can read these, in a condition or as {{name}} in a text field.
| Value | Holds |
|---|---|
discord | { messageId, channelId } of the message posted. |
Problems you might see
| Code | Means |
|---|---|
DISCORD_MESSAGE_INVALID | There's no message and no embed, or the message is too long. |
DISCORD_EMBED_INVALID | An embed has nothing visible, or a field is too long. |
DISCORD_HTTP_ERROR | Discord answered with an error. A 429 is retried. |
Problems found when you publish stop the publish and point at the node. Problems while a run is going fail the node, and its On failure setting decides what happens next. See the error codes for the API's own.
See also
Sends a message to a Telegram chat through your bot.
Outdefaultaction:telegramPushes a notification to your phone through an ntfy topic, with priority and tags.
Outdefaultaction:ntfyPops a notice in the console for everyone watching the workspace.
Outdefaultaction:toast