Piecewise

Build chat bots with blocks

fetch message with ID (id) in channel (channel)

In Discord → Messages

Jump to block

Find a message in a server with a particular ID.

Requires the following blocks to be present in the project: discord login

Parameters

Parameter name Parameter type Required? Description
id String The ID of the message to look for.
channel channel The channel to get the message from.

Output

message - The message, if found (otherwise null).