$author
$author
will add an author field to an embed.
Usage
$author[index?;name;iconURL?]
Parameters
Field | Type | Description | Required |
---|---|---|---|
index? | number | Embed index. | false |
name | string | Author title that will be displayed. | true |
iconURL? | string | Icon URL which will be displayed next to the author title. | false |
Example(s)
This will create an embed with description and author title:
1client.command({2 name: "author",3 code: `4 $author[Hello!;$userAvatar[$authorID]]5 $description[Embed with author!]6 `7});