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#

CommandDescriptionPermissions
/embedShow saved embeds or send them to a channelManage Messages

→ Details in the command reference

Dashboard settings#

SettingTypeMeaning
Embed module enabledToggleTurns the embed module on or off. While it is off, the /embed command is blocked.
NameTextInternal name of the embed. It is optional but required for saving, and appears in the embed picker of the Reaction roles module.
TitleTextHeading of the embed. At most 256 characters.
DescriptionTextMain body of the embed. At most 4096 characters. This is where the template variables go.
ColorTextColor of the embed's side bar. Pick a Discord default color or enter your own hex value.
Embed fieldsTextName/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)TextFooter line of the embed. At most 2048 characters.
Image URL (large)TextURL of a large image shown below the text.
Thumbnail URL (small, right)TextURL of a small image shown at the top right of the embed.
Author (top)TextAuthor line at the top of the embed. At most 256 characters.
Show timestampToggleShows 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.json and 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.
Last updated