Skip to content

Custom Embeds

The /embed command lets you build reusable, branded embeds — welcome messages, rules, announcements — save them by name, and post them to any channel. You can also import a finished design from JSON (e.g. from an embed editor) or copy an embed straight out of an existing message.


Both take a name plus the embed’s fields. create makes a new template; edit updates an existing one (only the fields you supply change). After saving, ClashDuke previews the embed and reminds you how to post it.

Option Type Required Notes
name string Yes Template name (edit autocompletes existing names).
title string No Embed title (up to 256 chars).
description string No Embed body (up to 4096 chars). Use \n for line breaks.
color string No Hex color, e.g. #00d1ff.
image string No Large image URL.
thumbnail string No Thumbnail URL.
footer string No Footer text (up to 2048 chars).
/embed create name:rules title:Server Rules description:1. Be kind\n2. Link your account color:#ffd848

Post a saved embed to a channel.

Option Type Required Notes
name string (autocomplete) Yes Which saved embed to post.
channel channel (text) No Target channel (defaults to the current one).
/embed post name:rules channel:#welcome
Subcommand Options Purpose
list List every saved embed template.
delete name (required, autocomplete) Delete a saved embed.

Import an embed from JSON. Because this opens an interactive form, ClashDuke first posts a Paste JSON button — click it to open a modal where you enter a template name and paste the embed’s JSON.

(No slash options — the name and JSON are entered in the paste form.)

Supported payload shapes:

A raw embed object

{ "title": "...", "description": "...", "color": 65535 }

A message payload

{ "content": "...", "embeds": [ { ... } ] } — the first embed is imported.

A full message-backup export

{ "messages": [ { "data": { "embeds": [ { ... } ] } } ] } — the first embed found is imported.

Copy the first embed out of an existing message and save it as a template.

Option Type Required Notes
name string Yes Template name to save it as.
message string Yes A message link (Copy Message Link), or a message ID.
channel channel (text) No Required when you pass a raw message ID — the channel to look in.
/embed import message name:welcome message:https://discord.com/channels/123/456/789

Field Max length
Title 256
Description 4096
Footer 2048

Longer values are clamped automatically on save and on post, so a saved embed never throws an error when you post it.