Docs / Reach

Discord embeds

Decide what your link looks like in a Discord chat: text, buttons and images, drawn the way a bot's message is.

How it works

Paste a xyst.wtf link into Discord and it unfurls into the standard card: a title, a description and a picture of your page. The embed tool replaces that card with a message drawn the way Discord draws a bot's, with your text, an accent bar, link buttons and images in the order you stack them.

  1. Open Tools in the dashboard and choose Discord Embed.
  2. Stack blocks under Blocks. The preview under In a Discord chat updates as you type, in Dark or Light.
  3. Pick where the embed lives: your profile link, a short link or just the code.
  4. Press Save embed.
Componentsup to 40 in one message
Textup to 4,000 characters across every block
Accentany six-digit hex colour, or none
Spoilerthe whole embed hidden until it is clicked

Both limits come from Discord, and the tool counts against them as you build. A block spends one component, a block with a button or an image spends three, and a row of buttons spends one plus one per button.

The blocks

An embed is a stack of blocks. Six kinds:

Text Text with a button Text with an image Buttons Images Divider
TextDiscord markdown: # headings, **bold**, *italic*, `code`, links and -# small print
Text with a buttona paragraph with one link button beside it
Text with an imagea paragraph with a thumbnail beside it
Buttonsa row of up to 5 link buttons, labels up to 80 characters
Imagesup to 10 images, tiled by Discord
Dividera small or large gap, with or without a line

Every button is a link button. Discord only runs interactive buttons for bots, and none is involved here.

Where it lives

The same embed can live in three places:

Your profile linkincluded with every plan
Short links that forwardPremium
Just the codeincluded with every plan

Your profile link is the usual choice: save the embed once and every paste of xyst.wtf/yourname draws it instead of the standard card. There is one per account.

A short link is an address at xyst.wtf/e/word that sends visitors on to any page you choose, such as a video, a shop or a server invite, and shows Discord your embed. The word is up to 32 characters of letters, numbers and dashes, and each link keeps an embed of its own.

Just the code gives you a <script id="discord:component-embed"> tag for the head of a site you host elsewhere. We store nothing, and Discord reads the tag when the link is pasted.

You can go back at any time. Press Remove in the tool and the next paste of your link shows the standard card again. Your page itself never changes.

Images

Discord fetches every image itself, so each one has to sit at a public link. The picker offers three sources:

Your profile cardthe picture xyst.wtf already draws for your page, at xyst.wtf/og/yourname.png
Your filesanything in the file host, which keeps images at a link Discord can load
A pasted linkany PNG, JPG, GIF or WEBP that is already online

The profile card is the image the standard preview shows, redrawn whenever you restyle your page.

The tool loads a pasted link before accepting it. If it does not load there, Discord cannot show it either. To host images of your own, see the file host.

When it shows up

Discord caches a link's preview after the first unfurl. A change to your embed does not update messages already in a channel, and may not show in the next paste either. It appears on Discord's next fresh fetch, usually within minutes.

The preview in the tool uses the same blocks Discord receives, so it matches what a fresh paste shows.