Build chat bots with blocks

attachments of message (message)

In Discord → Messages

Jump to block

Get the attachments on a message.

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


Parameter name Parameter type Required? Description
message message The message to get attachments from.


Array - A list of URLs to attachments on this message, or an empty list if there are no attachments.