$author

Sets an embed's author.

Usage

$author[index;text;icon;url]

This function has four params.

ParamDescriptionTypeRequired

index

The embed to add this author to.

integer

yes

text

The author text.

string

yes

icon

The author icon URL.

string

no

url

The author hyperlink URL.

string

no

Example

bot.commands.add({
    type: "basicCommand",
    name: "author",
    code: `$author[1;Author Text;$authorAvatar;https://google.com]
    $description[1;⬆️ That is the author.]`
})

Last updated