Skip to content
Entity Info messageAttachmentFlags

$messageAttachmentFlags — Returns the flags of an attachment from this message

Returns the flags of an attachment from this message

Syntax

$messageAttachmentFlags[channelID;messageID;index;(separator)]

Parameters

  • channelID (id, required) — The channel to pull message from
  • messageID (id, required) — The message to get its attachment flags
  • index (number, required) — The index of the attachment
  • separator (text, optional) — The separator to use for every flag

Return Value

  • AttachmentFlags[].

Usage

$messageAttachmentFlags[channelID;messageID;index;(separator)] → result

Example

$sendMessage[$messageAttachmentFlags[30;1000;0]]

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.