Embeds
Guide to understand the fundamentals of scripting embeds.
Last updated
Guide to understand the fundamentals of scripting embeds.
Last updated
We recommend using our instead of scripting the embeds manually as it is easier
Each parameter in the embed is represented by a key-value pair which is separated by a colon. For example, the title
parameter will look like {title: hello {user}}
. The {user}
is a which will be filled in with the user’s display name.
{
begins a parameter.
:
seperates parameter from content.
$v
seperates the parameters.
}
ends a parameter.
url
- The embed URL. (https://..
)
color
- The embed color. (#FFFFFF
)
title
- The embed title. (hello {user}
)
description
- The embed description. (hello {user}
)
image
- The embed image URL. (https://..
)
thumbnail
- The embed thumbnail URL. (https://..
)
timestamp
- The embed timestamp. (NO ARGUMENTS)
The following parameters require additional arguments which are separated by &&
.
You can use dynamic variables in your embeds to display user-specific information. For example, {user}
will be replaced with the user’s display name.
If you want to add a new line to your description parameter, you can press SHIFT
+ ENTER
to create a new line.
Some commands allow both raw text and embed code. Because of this, you’ll need to specify if youre gonna enter an embed. To do this, you’ll need to begin your embed code with {embed}$v
then proceed to write your embed code after as normally.
Add to the end of the embed ${delete: 1}
. The number is for the seconds after that the embed get deleted.
You can view the available variables by clicking .