$getAttachments

Returns a link of the image of the current message.

Syntax

$getAttachments[(Index)]

Parameters

  • Index (Type: Integer || Flag: Required): The index to get the image of.

Example

$nomention
$getAttachments[0]
!example
    <discord-attachment url="https://avatars.githubusercontent.com/u/63750675?s=100" slot="attachments">
    </discord-attachment>
</discord-message>