Embed Management ✏️
Work with Discord embeds directly: read existing embeds, send new ones, and modify embeds on bot messages. Multiple embeds per message are supported (as Discord allows). Use the /embed command to access these features.
Embed Format
Most /embed sub-commands expect embed data as a JSON string. Provide either a single object (one embed) or a JSON array (multiple embeds). To inspect the exact format, run /embed get on a message with an embed.
Supported input fields when sending/editing:
title: Stringdescription: Stringurl: Stringtimestamp: Unix timestamp in milliseconds (number or numeric string)color: Hex color with leading#(for example#A51770)footer: Object withtextand optionaliconthumbnail: Object withurlauthor: Either a string (name) or an object withname, optionalurl, optionaliconfields: Array of objects{ name, value, inline }image: URL of an image, can be either null or omitted entirely
Notes:
The
authorfield accepts either a single string (used as the name) or an object with properties.
CDN links and size limits
/embed get returns JSON in a code block by default. If the JSON exceeds ~4000 characters or if you select the
cdnoutput type, the JSON is uploaded and a CDN link is returned instead./embed send can accept a CDN link produced by
getor raw JSON.
URL format
Some fields in the embed can contain a URL. This URL is often a link to an image that should be used, but it can reference any possible url. If any of the URLs are not valid, sending may fail with an error. The URL must contain a valid protocol, meaning it must start with e.g. http:// or https://.
Message Link
The message link is a link to a message in discord, which can be obtained by right-clicking on a message and selecting Copy Message Link. This link is used to identify the message that should be edited or read from.
Timestamp
The timestamp field is a unix timestamp in milliseconds. This is used to display a timestamp in the embed.
You can convert a date to a timestamp and vice versa by using websites like this.
Please make sure that the timestamp is in milliseconds, as the bot will not convert it for you, resulting in incorrect dates being shown.
Color
The color field is a hex color code, with a leading #. This color is used to color the left bar of the embed.
You can use websites like this or this to find a color you like.