$authorAvatar
Returns the avatar (profile picture) URL of the user who executed the command.
Usage
$authorAvatar[serverAvatar]
- serverAvatar - (Optional) default value:
no
. Can beyes
orno
. Discord does have two types of avatars, global and per-server (custom avatar in each server). If no server avatar is set, the global avatar will be used.
Examples
Sending avatar URL
How is the avatar URL displayed when sent with text and without text
Note
You can send the image as an attachment, so no link will be displayed. For this, you can use function $attachment. To display the avatar URL as plain text, either enclose the function in backticks (`$authorAvatar`
) or angle brackets (<$authorAvatar>
).