$userAvatar
$userAvatar
will return the profile picture of a specific user.
Usage
$userAvatar[userID?;size?;dynamic?;format?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
userID? | number | The ID of the user. | false |
size? | string, number | The size of the image | false |
dynamic? | boolean | 1. true (default) 2. false | false |
format? | string | The format of the returned image. | false |
Example(s)
This will return your profile picture:
1client.command({2 name: "userAvatar",3 code: `4 $userAvatar[$authorID;2048;true;webp]5 `6});