$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 slot="attachments" url="https://avatars.githubusercontent.com/u/63750675?s=100">
    </discord-attachment>
</discord-message>