The embed customization module for nano-core (kind command).
The core covers embeds 100% with default styling; this module
layers customization on top: the midnight theme, five ready-made
embed templates, and /embed to fill a template, attach an image,
and send it to any channel.
All require the ManageMessages permission.
| Command | Description |
|---|---|
/embed send | Fill a template and send it (optional channel target) |
/embed preview | Render the same options ephemerally |
/embed templates | List every registered template and its slots |
Options of send / preview: template (autocomplete), title,
message, version (changelog), theme, image (attachment).
| Name | Purpose | Slots |
|---|---|---|
announcement | Server announcement with author header | title, message, guild |
alert | Red attention banner | title, message |
notice | Neutral informational card | title, message |
changelog | Release notes | version, title, message |
welcome | Greets a member by name | user, message |
{{user}} and {{guild}} fill automatically from the
interaction. Templates register on enable through the core’s
template registry (registerEmbedTemplate), so other modules can
render them too.
From a nano-core checkout (requires core >= 0.3.0):
npm run module install embed-stylerOr manually: clone this repo into modules/embed-styler and add
./modules/embed-styler to the modules list in nano.config.json.
The nano-tui.json panel exposes default_theme — the theme used
when /embed is called without one. Everything else is a
per-invocation option.
The module imports everything from the @ccs-devhub/nano-core
public barrel. For a standalone typecheck, clone nano-core as a
sibling directory (its tsconfig.json maps the package name to
the core sources), then:
npm install
npm run checkMIT — modules may use any license; the core stays MPL-2.0.