Skip to main content

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​

FieldAvailable OnDescription
TitleAll templatesThe embed title. Supports variable placeholders. Maximum 256 characters.
DescriptionAll templatesThe embed description body. Supports variable placeholders and basic Markdown (**bold**, *italic*, newlines). Maximum 4,096 characters.
Case ReasonAlert templates onlyThe reason string attached to auto-created moderation cases. Maximum 500 characters.
ColorAll templatesThe embed accent color displayed as a left border stripe. Select from the color picker or enter a hex code (e.g., #ED4245).
Show Appeal ButtonDM templates onlyToggle to include an "Appeal this action" button in the DM. Only appears to users if the guild has appeals enabled.
Appeal Button TextDM templates onlyCustom 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:

ContextLocationWho Can AccessWhat It Does
GuildDashboard > TemplatesStaff with SETTINGS permissionOverrides templates for this guild only
AdminAdmin Panel > Message TemplatesBot adminsSets 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.