Embed templates with Gaia
Save message JSON as a template, send or schedule it, add attachments and update copies you already sent.
On this page
The Embed Manager stores messages as templates for one server. You write the message as Discord message JSON, then send it now, schedule it, or update the copies Gaia already posted.
Type /embed to open it. You need the Discord Administrator permission. Its buttons are Create, Edit, Send, Scheduled Sends, List and Attachments.
Create a template#
- Click Create and enter a name. Names are 1 to 64 characters, without control characters, and unique per server regardless of case.
- Click Enter JSON. For long messages, click Large JSON, which gives you five fields that are joined together.
- Paste the message JSON and submit.
- Check the preview, then click Save Embed.
A simple template looks like this:
{"content":"Hello","embeds":[{"title":"Welcome","description":"Read the rules first."}]}What the JSON may contain#
Only content, embeds and allowed_mentions are accepted. Gaia checks Discord's limits before saving:
content, at least one embed, or both.- At most 10 embeds, each with at most 25 fields and 6000 characters in total.
- Title up to 256 characters, description up to 4096, field names up to 256, field values up to 1024, footer text up to 2048 and author name up to 256.
- Links must be
httporhttps. Images and thumbnails may also useattachment://with a file you uploaded.
If something is wrong, Gaia lists every problem under Invalid embed JSON.
Edit a template#
- Click Edit, pick the template and click Edit JSON.
- Change the JSON, check the preview and click Save Changes.
- If Gaia has sent this template before, click Update Sent Embed to edit the copies in place.
Gaia only updates copies it sent itself. It does not search for older messages.
Send a template#
- Click Send, pick the template and pick a text channel.
- Choose who to notify: pick roles, @everyone, @here or No Mention, then click Continue.
- Check the summary and click Send.
@everyone and @here only work if Gaia has Mention Everyone. Without it, Gaia warns you and sends without the mass mention.
Schedule a template#
- Click Scheduled Sends, then Schedule Send.
- Pick the template and the channel.
- Enter the time as
YYYY-MM-DD HH:mmorDD.MM.YYYY HH:mm, in the timezone set byTIMEZONE. - Choose the mentions, check the summary and click Confirm Schedule.
The time must be in the future and within one year. Times that do not exist or happen twice because of a daylight saving change are refused.
A scheduled send uses the latest saved version of the template at delivery time. If Gaia was offline at that time, it sends when it comes back, unless more than 24 hours have passed. Then the send is marked as failed.
View Upcoming lists planned sends with a cancel button for each. View History lists past sends. Cancelling keeps the history.
Attachments#
- Click Attachments and pick the template.
- Click Upload or Replace and upload a file. A file with the same name replaces the old one.
- Use
attachment://filenamein an embed image or thumbnail URL.
Allowed types are PNG, JPEG, GIF, WEBP, PDF and plain text. Each file can be up to 8 MB, and a template can hold 10 files and 20 MB in total. Gaia checks that the file content matches its type. To remove a file, pick it under Remove an attachment. A file the JSON still uses cannot be removed.
Sessions#
Manager sessions and unsaved previews expire after 15 minutes. If you see That selection expired. or That preview expired. Please start again., start again from /embed.
Source: Gaia v1.0.1 README, src/bot.rs, src/services/embed_validation.rs, src/services/embed_renderer.rs, src/services/embed_scheduler.rs and src/services/schedule_time.rs, checked 4 November 2026.