Tools & reference

Embed scripting

Build formatted Discord messages with fields, variables and buttons.

Illustrated example · Try ,embed {embed}$v{title: Welcome!} in Discord.

How to use it

Start with a title, then add a description or fields. Preview the message in the embed builder before using it as a welcome or ticket greeting.

Reference

Welcome messages, autoresponders, tags, level messages, ticket greetings and more accept either plain text or an embed script. A script starts with {embed}, and parts are separated with $v. Multi-value parts use &&.

{embed}$v{title: Welcome!}$v{description: Hi {user.mention}}$v{color: #c6ff3d}$v{field: Rules && Read #rules && inline}$v{footer: {guild.name} && {guild.icon}}$v{button: https://example.com && Website}
PartValue
contentPlain text sent above the embed
title / description / urlText, or a link for the title
color#hex, 0xhex, short #58f or a name
authorname && icon && url
fieldname && value && inline
footertext && icon
image / thumbnailAn image URL
timestampNo value; adds the current time
buttonurl && label for links, or style && label && emoji && disabled (blurple, gray, green, red)

Try it in the embed builder, or copy an existing message's script with ,embed copy <message link>.

Commands

,embed <script>

Send a message from an embed script

Aliases · ce, createembed

Permissions · Manage Messages

,embed builder

Link to the visual embed builder

,embed copy <message link>

Get the script for an existing message

Aliases · code

,embed create [channel] <script>

Send an embed script to a channel

Aliases · send

Permissions · Manage Messages

,embed edit <message link> <script>

Edit one of my messages with a new script

Permissions · Manage Messages

,embed variables

List script variables

Aliases · vars

,say [channel] <text>

Make me say something (supports scripts)

Permissions · Manage Messages

/embed send <script>

Send a message from an embed script

/embed variables

List script variables

/embed create <script> [channel]

Send an embed script to a channel

/embed builder

Link to the visual embed builder

/embed copy <message>

Get the script for an existing message

/embed edit <message> <script>

Edit one of my messages with a new script

/say <text> [channel]

Make me say something (supports scripts)