Templates Page
The Templates page lets server staff customize the messages Thrella sends on behalf of the guild. This includes moderation DMs, alert channel embeds, and appeal notification messages. Access to this page requires the SETTINGS section permission.
For an overview of how the template system works, including categories, variables, and the resolution order, see Message Templates.
Layout
The page uses a two-column layout:
- Left sidebar -- Lists all 11 templates grouped by category (Alert Channel Messages, User DM Messages, Appeal Notifications). Templates that have been modified since the last save show a dot indicator. Templates that have a guild override show an "Override" badge.
- Right panel -- The editor for the currently selected template, including form fields, variable reference, and a live Discord embed preview.
Editing a Template
Select a template from the sidebar to open it in the editor panel. The editor displays:
Fields
| Field | Available On | Description |
|---|---|---|
| Title | All templates | The embed title. Supports variable placeholders. Maximum 256 characters. |
| Description | All templates | The embed description body. Supports variable placeholders and basic Markdown (**bold**, *italic*, newlines). Maximum 4,096 characters. |
| Case Reason | Alert templates only | The reason string attached to auto-created moderation cases. Maximum 500 characters. |
| Color | All templates | The embed accent color displayed as a left border stripe. Select from the color picker or enter a hex code (e.g., #ED4245). |
| Show Appeal Button | DM templates only | Toggle to include an "Appeal this action" button in the DM. Only appears to users if the guild has appeals enabled. |
| Appeal Button Text | DM templates only | Custom label for the appeal button. Defaults to "Appeal this action". Maximum 80 characters. |
Variable Reference
Below the template name, a set of badges shows the available variables for that template's category. Click or reference these when writing your template text. See the Message Templates page for a full list of variables per category.
Discord Embed Preview
At the bottom of the editor, a live preview renders the template as it would appear in Discord. The preview uses sample data to fill in variable placeholders, so you can see exactly how the final message will look. The preview updates in real time as you type.
Saving Changes
Click the Save button at the bottom of the page to persist all changes. The button displays the number of modified templates (e.g., "Save (3 changed)"). Only templates that differ from their last saved state are included in the count.
After saving:
- Template caches across all bot clusters are automatically invalidated.
- Changes take effect immediately for new actions. Messages already sent are not affected.
Resetting a Template
Each template has a Reset button in the editor panel. The behavior depends on context:
- Guild mode -- "Reset to Global" removes the guild override, causing the template to fall back to the global default.
- Admin mode -- "Reset to Default" restores the built-in default for that template.
Resetting a template marks it as modified (unsaved). You must still click Save to persist the reset.
Guild Overrides vs. Global Defaults
The Templates page is available in two contexts:
| Context | Location | Who Can Access | What It Does |
|---|---|---|---|
| Guild | Dashboard > Templates | Staff with SETTINGS permission | Overrides templates for this guild only |
| Admin | Admin Panel > Message Templates | Bot admins | Sets global defaults for all guilds |
Guild overrides take priority over global defaults. If a guild has not overridden a template, the global default is used. If no global default is set, the built-in default is used. See Resolution Order for details.