Skip to content
Entity Info messageAttachments

$messageAttachments — Retrieves all attachments of this message

Retrieves all attachments of this message

Syntax

$messageAttachments[channelID;messageID;(separator)]

Parameters

  • channelID (id, required) — The channel to pull message from
  • messageID (id, required) — The message to get its attachments
  • separator (text, optional) — The separator to use for every attachment

Return Value

  • Attachment[].

Usage

$messageAttachments[channelID;messageID;(separator)] → result

Example

$sendMessage[$messageAttachments[30;1000;,]]

Try it

Paste an example into the playground to preview its message (functions that act on Discord are not run), or build the same thing with blocks.