$authorAvatar

Returns the URL to the User's avatar that triggered the command.

Discord adds image to message if link provided Read examples section

If a message contains only a link to an image, Discord sends only the image.

If a message has a link to an image AND some text, Discord sends both the link and the image.

To add image without posting the link use $attachment

To send link as a plain text wrap the function into graves like`$authorAvatar`

Usage

$authorAvatar[Return Server Avatar Instead (yes/no, default is no)]

Examples

crochet04/02/2024
!!exec My avatar link: $authorAvatar
Image attached below:
Example
crochet04/02/2024
!!exec $authorAvatar
Custom Command Bot 04/02/2024
1
Example
crochet04/02/2024
!!exec No link, only text and image
$attachment[$authorAvatar]
Custom Command Bot 04/02/2024
No link, only text and image
1
Example
crochet04/02/2024
!!exec $authorAvatar
Custom Command Bot 04/02/2024
https://cdn.discordapp.com/avatars/808007806266769458/768de61c5d90024e100ec5c058d3c2fe.webp?size=4096