Mail Templates
Writing the same alliance mail over and over gets old fast. Mail Templates let you build a mail once on the Codex Helper website, save it to your Discord account, and then pull it back up inside any server with a single command. The bot posts the template as a tidy card with a Copy for Mobile button, so anyone (including you on your phone) can grab the text and paste it straight into Rise of Kingdoms.
| Tier | Free |
| Command | /templates |
| Who can use | Everyone |
| Also on dashboard | No (templates are managed on the Mail Generator) |
How it works
Section titled “How it works”Mail Templates work in two halves: you create and save templates on the website, and you load them in Discord.
- Build it on the website. Open the Alliance Mail Generator, write your mail, and save it to your account. Each saved template gets a name so you can find it again later. Your templates are tied to your Discord login, so they follow you into every server the bot is in.
- Load it in Discord. Run
/templates loadand start typing the template’s name. The autocomplete lists your saved templates (with the date you saved each one). Pick one and the bot posts a card to the channel showing the template’s code, its character count, and two buttons. - Copy and paste in-game. Click Copy for Mobile and the bot sends you the raw template text privately, ready to copy into the game’s mail box. This works for every member who can see the card, not just you.
The card the bot posts after /templates load stays interactive even after the bot restarts, so older template posts keep working in your channels.
Commands
Section titled “Commands”/templates list
Section titled “/templates list”Lists all of your saved mail templates, privately (only you see the reply).
This command takes no options. The reply shows each template’s name, the date you saved it, and when you last loaded it. If you have not saved any templates yet, the bot shows a button that links straight to the Mail Generator so you can make your first one.
/templates list/templates load
Section titled “/templates load”Loads one of your saved templates into a message with copy and delete buttons.
| Option | Type | Required | Description |
|---|---|---|---|
template | choice | Yes | The name of the template you want to load. Pick from the autocomplete list of your saved templates. |
/templates load template: Migration Day MailThe card the bot posts includes:
- Copy for Mobile - sends you the full template text privately so you can copy and paste it into Rise of Kingdoms. Anyone who can see the card can use this button to get their own private copy.
- Delete Template - permanently deletes the template from your account after a confirmation prompt. Only the person who owns the template can delete it.