Actions › Lookup

Read a message

Reads a message by its channel and id — its content, author, attachments
  • 1 credit
  • Outputs: Success, Failure

Fields

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

FieldWhat it does
Channel
channelId
The message's channel.required
Message ID
messageId
The message to read.required

What it passes on

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

DataPathType
Message ▸ IDmessage.idTextcan be empty
Message ▸ Contentmessage.contentTextcan be empty
Message ▸ URLmessage.urlTextcan be empty
Message ▸ Created Atmessage.createdAtDatecan be empty
Message ▸ Edited Atmessage.editedAtDatecan be empty
Message ▸ 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, Read Message History

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