Functionalities
Functions
Data
Other
$authorAvatar
Returns the command authors avatar with optional dynamics.

FUNCTION USAGE

  • $authorAvatar
  • $authorAvatar[size]
  • $authorAvatar[size;format]
Format
Size
One of webp, png, jpg, jpeg, gif. If no format is provided, defaults to png
One of 16, 32, 64, 128, 256, 512, 1024, 2048, 4096

Your avatar image will show in the response. it will show as the format in the 2nd field. 1st field is to resize the image

Example 1: Will auto convert to gif if it's a gif avatar.

bot.Command({
name: "myavatar",
code: `
$authorAvatar
`})

Example 2: Will auto convert to gif if it's a gif avatar. otherwise, the image stays webp format.

bot.Command({
name: "myavatar",
code: `
$authorAvatar[1024;webp]
`})
Copy link
Outline