Where an embed code is used
Four features take an embed code. They all work the same way: you give them the code, they check that an embed exists under it, and they store the code. The embed itself is fetched when the feature sends its message, so the version sent is always the latest one.
| Feature | Where you give the code | When the embed is fetched | Variables |
|---|---|---|---|
| Tag | /tag create … embed_id, or the Tags module of the dashboard |
At each /tag use |
None |
| Sticky message | /sticky embed … embed_id, or the Sticky messages module |
Each time it is posted again | None |
| Ticket panel, embed above the panel | /ticket panel: Change related embed |
When you click Send embed | None |
| Ticket panel, embed inside the ticket | /ticket panel: Change ticket channel embed, or an embed per option |
When a member opens a ticket | Member, server, {category} |
| Welcomer | /guildconfig set welcomer: Set embed, or the Welcome / Leave module |
At each arrival or departure | Member, server, inviter |
In the dashboard, the Tags, Sticky messages, Tickets and Welcome / Leave modules offer the server's embeds in a list, with their titles: no need to copy codes around.
Tags
/tag create tag_name embed_id [message_content] saves a tag with the embed's code, and an optional text posted above it.
- A code that doesn't exist is refused: "The embed doesn't exist."
/tag editonly renames a tag. To give a tag another embed, pick it in the dashboard's Tags module, or delete the tag and create it again. To change what the embed looks like, edit the embed itself: every tag using it follows.- If the embed is deleted,
/tag useposts the tag's text alone; a tag without text answers "The tagrulesis empty: it has no text and no embed."
Sticky messages
/sticky embed channel embed_id [message_content] keeps the embed (and an optional text) at the bottom of the channel.
- An unknown code is refused: "I could not find the embed
…." - The sticky is posted again under each new message, with the embed as it is at that moment. After editing the embed, the next repost (or
/sticky refresh) shows the new version. - If the embed is deleted, a sticky that also has a text keeps being reposted with its text alone. A sticky with only an embed has nothing left to post: iHorizon stops reposting it and the last copy stays where it is. Give it another embed with
/sticky embed, or switch to/sticky text.
Ticket panels
A panel uses up to three kinds of embeds, all set in the /ticket panel editor by their code (see the ticket page):
| Editor action | Embed | Fetched | If the embed no longer exists |
|---|---|---|---|
| Change related embed | The one above the Create Ticket button or the menu | When you click Send embed | Simple panel: the default "Support" embed is used. Advanced panel: "The related embed does not exist", nothing is sent. |
| Change ticket channel embed | The one posted inside each new ticket | When a member opens a ticket | The default welcome embed of the ticket is used |
| Configure an embed per option (Advanced) | The one posted inside tickets opened from that option, instead of the previous one | When a member opens a ticket | Same |
A code that doesn't exist, or that isn't a valid code (for example with a dot, like qTzRbWkLmNvHaPcE.embedSource), is refused in the editor with "The embed does not exist". For Change ticket channel embed, such a code also removes the embed set before: new tickets go back to the default welcome embed.
A panel already posted doesn't change
The embed above a panel is copied into the message when you click Send embed. Editing the embed afterwards doesn't touch the panels already in your channels: reopen /ticket panel <code>, click Send embed again, and delete the old message. The embeds inside tickets, on the other hand, are fetched at every new ticket: they follow your edits right away.
Welcomer
In /guildconfig set welcomer, the Join Message and Leave Message sections each have a Set embed button. It asks for the "Embed ID (from the embed builder)".
- An unknown code, or one that isn't a valid code (for example with a dot, like
qTzRbWkLmNvHaPcE.embedSource), answers "No saved embed found with the ID…. Create one with the embed builder first." - With an embed, the message is always sent as a simple message: the text above the embed (unless the text is turned off with Disable text), and for arrivals the image card below if it's on. Remove embed goes back to the render mode you chose (card or simple message).
- The embed is fetched at every arrival or departure, with the welcome variables filled in.
- If the embed is deleted, the message is sent as if no embed was set.