$authorAvatar

Returns the avatar URL of the user who ran this command.

Usage

$authorAvatar or $authorAvatar[size;dynamic]

This function has two fields.

FieldDescriptionTypeRequired

size

The size to display this avatar as.

No

dynamic

Whether to change the image to a GIF for animated avatars.

Boolean

No

Example

bot.commands.add({
    type: "basicCommand",
    name: "avatar",
    code: `$image[$authorAvatar[4096;yes]]`
})

Last updated