Embeds
How to use embeds in error messages and other "2nd field" functions!
This works in error messages and "2nd field" functions like $channelSendMessage and more! Experiment a little :) Please see the image and code example below the tab table. It's an "all-in-one" example usage of an embed error as well as usage with $channelSendMessage
field
author
authoricon
title
color
description
thumbnail
footer
footericon
image
timestamp
attachment

This is exactly like $addField

Usage: {field:TITLE:BODY:yes/no}

TITLE - Title of the field BODY - The text under the field title yes/no - Indicates if the field may be inline. yes means it will be inline. You can also not include this 4th field for a default, no

This is exactly like $author

Usage: {author:STUFF HERE}

STUFF HERE - Just put what you want here to be in the author field
This is just like $authorAvatar or like using the 2nd field of $author

Usage: {authoricon:IMAGEURL}

IMAGEURL - Usually someone's avatar or server icon but you can use any valid image URL link to go here.
This is exactly like $title

Usage: {title:STUFF HERE}

STUFF HERE - Just put what you want to be in the title field
This is exactly like $color

Usage: {color:COLOR}

COLOR - You can use a hex color like FF0000 or RED
Color names must be UPPERCASE and currently only a limit amount of color names are available!
This is exactly like $description

Usage: {description:STUFF}

STUFF - Fill this field with stuff you want in your description field.
This is exactly like $thumbnail

Usage: {thumbnail:IMAGEURL}

IMAGEURL - Usually someone's avatar or server icon goes here but you can use any valid image url link.
This is exactly like $footer

Usage: {footer:STUFF HERE}

STUFF HERE - Put what you want to be in the footer field.
This is exactly like using the 2nd field in $footer

Usage: {footericon:IMAGEURL}

IMAGEURL - Usually someone's avatar or server icon but you can use any valid image url link.
[New from 1.9.1] This is exactly like $image
Cannot have {image:} alone by itself. Needs to be accompanied by another source of embed for it to respond. For example - {title:test} {image:$serverIcon}

Usage: {image:IMAGEURL}

image - The name for adding an image to the embed. imgURL - Supply an image URL link. https://.....jpg, png, webp, etc..
This is exactly like $addTimestamp

Usage: {timestamp}

timestamp - Simply adds a timestamp to the embed
This is exactly like $addAttachment

Usage: {attachment}

attachment - Simply adds a attachment image to the message.
1
bot.Command({
2
name: "say",
3
code: `
4
$message[]
5
6
$onlyIf[$message[1]!=;
7
{title:What do you want me to say?}
8
{author:$username[]#$discriminator[]}
9
{authoricon:$authorAvatar}
10
{thumbnail:$serverIcon}
11
{description:You need to command me to say something!}
12
{field:Usage:$getServerVar[prefix]say <message>}
13
{field:Example:$getServerVar[prefix]say you're cute}
14
{footer:$serverName[$guildID]}
15
{footericon:$serverIcon}
16
{attachment:$authorAvatar}
17
{color:RED}]
18
`
19
})
Copied!

Embeds using $channelSendMessage is done the same way:

1
bot.Command({
2
name: "help",
3
code: `
4
$channelSendMessage[$channelID[];
5
{author:$username[]#$discriminator[]}
6
{title:Help is here!}
7
{authoricon:$authorAvatar[webp;true;128]}
8
{thumbnail:$serverIcon}
9
{description:Here's my commands below:}
10
{field:Moderation:\`kick\`, \`ban\`, \`clear\`}
11
{field:Fun:\`rps\`, \`kiss\`, \`slap\`}
12
{footer:$serverName[$guildID]}
13
{footericon:$serverIcon}
14
{attachment:$authorAvatar}
15
{color:00FF00}]
16
`})
Copied!
Last modified 7mo ago