Files
Amnibroandancsemi 662534f976 Server templates: export a server's branding, categories, channels, roles and setup posts as one file, and import one from Settings or tools/template.js (#5732)
Admins download the template under Settings > Admin > Server Template, and import
one with a preview of what it will create or update. Add missing leaves existing
channels, roles and settings alone; Replace layout updates them to match. Neither
mode deletes anything. Members, messages, DMs, keys, invite and channel codes,
webhook tokens and secret settings are never exported. Settings go through an
allowlist, and imports are validated strictly: sizes, names, references, image
types and checksums.

The channel-name rule, built-in theme list, automod word and escalation checks
and image sniffing now each live in one place, since the template code shares
them.

Co-authored-by: ancsemi <ancsemi@gmail.com>
2026-10-05 18:00:22 -04:00
..