Actions › Messages

Edit Message

Edits an existing message by its id — independent of any interaction, works from any Event
  • 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.

FieldWhat it does
Channel
channelId
The channel this action applies torequired
Message ID
messageId
ID of the message to editrequired
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
Hide link previews
suppressEmbeds
The message's links show no preview. Its own embeds stay.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

View Channels, Embed Links, Read Message History

What each one allows, and how to grant one later: Bot permissions.