mirror of
https://github.com/ancsemi/Haven.git
synced 2026-10-26 00:29:14 +00:00
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>