Embeds
Guide to understand the fundamentals of scripting embeds.
Structure
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.username}
is a variable which will be filled in with the user’s username.
-
{
begins a parameter. -
:
separates parameter from content. -
$v
separates the parameters. -
}
ends a parameter.
Parameters
-
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://..
)
The following parameters require additional arguments which are separated by &&
.
Variables
You can use dynamic variables in your embeds to display user-specific information. For example, {user}
will be replaced with the user’s mention.
You can view the available variables by clicking here.