$authorAvatar

Returns the avatar (profile picture) URL of the user who executed the command.

Usage

$authorAvatar[serverAvatar]
  1. serverAvatar - (Optional) default value: no. Can be yes or no. 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

User04/23/2025
!!exec With text: $authorAvatar
Custom Command Bot 04/23/2025
With text: https://cdn.discordapp.com/embed/avatars/0.png
User Avatar
User04/23/2025
!!exec $authorAvatar
Custom Command Bot 04/23/2025
User Avatar

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>).

Function difficulty: Easy
Tags: Image Avatar Attachment profile picture