Piecewise

Build chat bots with blocks

fetch message (message) references

In Discord → Messages

Jump to block

Fetch the reference this message references (i.e. a reply, an original crosspost, the message that was pinned).

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

Parameters

Parameter name Parameter type Required? Description
message message The message to fetch a reference for.

Output

message - The message this message references, or NULL if this message does not reference any other message