Embeds
Build, save and send embeds from the dashboard - with dynamic variables.
Purpose: The embed editor builds Discord embeds with title, description, color, fields, footer, image, thumbnail and author. Saved embeds can be sent to a channel again at any time. The built-in template variables fill embeds dynamically, for example with the triggering member or the server name. Saved embeds are also used by the Reaction roles module.
Template variables#
The bot substitutes these variables when sending. Variables containing ID are inserted as an example; replace the ID with the one you want.
{user}– Mentions the triggering member.{username}– Name of the triggering member.{user:ID}– Mentions a member by ID.{username:ID}– Name of a member by ID.{usertag:ID}– Alias for the name by ID.{userid:ID}– Inserts the raw user ID.{server}– Server name.{serverid}– Server ID.{memberCount}– Current member count.{channel}– Mentions the channel.{channelName}– Channel name.{channelid}– Channel ID.{timestamp}– Current date and time.
Commands#
| Command | Description | Permissions |
|---|---|---|
/embed | Show saved embeds or send them to a channel | Manage Messages |
→ Details in the command reference
Dashboard settings#
| Setting | Type | Meaning |
|---|---|---|
| Embed module enabled | Toggle | Turns the embed module on or off. While it is off, the /embed command is blocked. |
| Name | Text | Internal name of the embed. It is optional but required for saving, and appears in the embed picker of the Reaction roles module. |
| Title | Text | Heading of the embed. At most 256 characters. |
| Description | Text | Main body of the embed. At most 4096 characters. This is where the template variables go. |
| Color | Text | Color of the embed's side bar. Pick a Discord default color or enter your own hex value. |
| Embed fields | Text | Name/value pairs for extra details. Field name at most 256, field value at most 1024 characters. Ticking “Inline” places several fields side by side. |
| Footer (bottom) | Text | Footer line of the embed. At most 2048 characters. |
| Image URL (large) | Text | URL of a large image shown below the text. |
| Thumbnail URL (small, right) | Text | URL of a small image shown at the top right of the embed. |
| Author (top) | Text | Author line at the top of the embed. At most 256 characters. |
| Show timestamp | Toggle | Shows a timestamp of the send time below the embed. Enabled by default. Default: Enabled |
Pitfalls#
- An embed can only be saved once it has a name.
- When editing an embed that was already sent, the message in the channel can be updated too (switch below the save button) - for that, the embed must have been sent again since this version so the bot knows the message ID.
- Saved embeds live in
data/embeds.jsonand are also used by the Reaction roles module. - Discord's character limits apply: title 256, description 4096, field name 256, field value 1024, footer 2048.
- Discord only renders large headings (
#,##,###) in the description - in field values the hash stays visible (the field name is the heading there). A space is required after the hashes, otherwise the text stays normal.