How it works
An embed script is a series of parameters. Each one is wrapped in braces, uses a colon to separate the name from its content, and is joined to the next one with$v.
Simple parameters
These take a single value.Colors
Hex works in three forms:#5865f2, 0x5865f2, or bare 5865f2. You can also use a name: red, blue, green, purple, orange, gold, yellow, white, or black.
Multi-part parameters
These take several values separated by&&.
Field
Field
Name and value, both required. Add the word Up to 25 fields per embed.
inline at the end of the value to sit fields side by side.Image and link restrictions
Allowed hosts:cdn.discordapp.com · media.discordapp.net · images-ext-1.discordapp.net · images-ext-2.discordapp.net · last.fm · www.last.fm · lastfm.freetls.fastly.net · lastfm-img1.akamaized.net · lastfm-img2.akamaized.net
A full example
Common questions
How do I add a line break?
How do I add a line break?
Press Shift + Enter while typing your message in Discord.
My embed says it produces no output
My embed says it produces no output
Confine validates scripts before saving. Usually this means every parameter was malformed — check that each one opens with
{, closes with }, and that they’re joined by $v with nothing stray in between.Can I use `$v` or `}` inside my text?
Can I use `$v` or `}` inside my text?
No. Both are structural, so a literal
$v splits your script and a stray } closes the parameter early.