Overview
Embed scripts use a special syntax to create rich, customized Discord embeds. This page explains the complete scripting system used in the,embed create command.
All scripts support dynamic variables that automatically populate with real data when the embed is sent.
Basic Structure
Every embed must be wrapped in{embed} tags:
{embed}: Opening tag$v{property: value}: Property declarations{embed}: Closing tag
Property Syntax
Title
Title
The main heading of your embed.Syntax:Examples:Limits: 256 characters max
Description
Description
The main body text of your embed.Syntax:Examples:Limits: 4096 characters max
Color
Color
Set the embed’s sidebar color.Syntax:Examples:Supported Formats:
- Hex codes:
#ff0000,#00ff00,#0099ff - Color names:
red,blue,green,purple,pink,orange,yellow, etc. - Variables:
{random.color},{user.color}
Images
Images
Add visual elements to your embed.Syntax:Examples:Differences:
thumbnail: Small image on the right sideimage: Large image at the bottom
URL
URL
Make the embed title clickable.Syntax:Examples:Note: Requires a title to be set
Timestamp
Timestamp
Add current timestamp to footer.Syntax:Example:Note: No value needed, automatically uses current time
Fields
Fields
Add structured data in name-value pairs.Syntax:Examples:Format:
Name: Field title (256 characters max)Value: Field content (1024 characters max)inline:trueorfalse(displays side-by-side if true)
Message
Message
Add text content outside the embed.Syntax:Examples:Note: Appears as regular text above the embed
Button Syntax
Add interactive buttons to your embeds using{button:} tags:
Multiple Embeds
Create multiple embeds in one message:{embed}{embed} tags
Complete Examples
- Basic
- Welcome Message
- With Fields
- Full Featured
- Multiple Embeds
Tips & Best Practices
Script Writing Tips
- Always close
{embed}tags properly - Use
$v{property: value}for all properties - Separate properties with newlines for readability
- Test with
,embed previewbefore creating - Use variables to make embeds dynamic
Variable SupportAll property values support dynamic variables. See the Variables guide for a complete list of available variables like
{user.mention}, {guild.name}, {timestamp}, etc.Character Limits
Syntax Reference
Property Format:Related Resources
Variables
Complete list of available variables
Embed Builder
Full embed builder command guide
Webhook
Send embeds through webhooks
Auto Responders
Use embeds in auto responses