Skip to content

$userAvatar

$userAvatar will return the profile picture of a specific user.

Usage

$userAvatar[userID?;size?;dynamic?;format?]

Parameters

FieldTypeDescriptionRequired
userID?numberThe ID of the user.false
size?string, numberThe size of the imagefalse
dynamic?boolean1. true (default)
2. false
false
format?stringThe format of the returned image.false

Example(s)

This will return your profile picture:

1
client.command({
2
name: "userAvatar",
3
code: `
4
$userAvatar[$authorID;2048;true;webp]
5
`
6
});