feat: sanction DM links and per-event colour coding #13

Merged
naomi merged 2 commits from feat/sanction-dm-links into main 2026-03-31 17:33:35 -07:00
Owner

Summary

  • Adds resource links (appeal form, sanction logs, contact page, community invite) to all sanction DMs, separated from the sanction text by a Components v2 separator
  • Adds a unique accent colour for every mod log and activity log event type, giving each action a distinct visual identity at a glance

Changes

  • src/utils/components.ts — Added sanctionDmMessage helper with two-section container (sanction text + links); added full Colours palette covering all sanction and activity event types; added ColourKey export
  • src/commands/{ban,kick,mute,softban,warn}.ts — Updated DMs to use sanctionDmMessage with the appropriate colour
  • src/modules/logModAction.ts / logActivity.ts — Thread colour parameter through to message builders
  • All event and command files updated with their respective colours

This PR was created with help from Hikari~ 🌸

## Summary - Adds resource links (appeal form, sanction logs, contact page, community invite) to all sanction DMs, separated from the sanction text by a Components v2 separator - Adds a unique accent colour for every mod log and activity log event type, giving each action a distinct visual identity at a glance ## Changes - `src/utils/components.ts` — Added `sanctionDmMessage` helper with two-section container (sanction text + links); added full `Colours` palette covering all sanction and activity event types; added `ColourKey` export - `src/commands/{ban,kick,mute,softban,warn}.ts` — Updated DMs to use `sanctionDmMessage` with the appropriate colour - `src/modules/logModAction.ts` / `logActivity.ts` — Thread `colour` parameter through to message builders - All event and command files updated with their respective colours ✨ This PR was created with help from Hikari~ 🌸
hikari added 2 commits 2026-03-31 17:30:54 -07:00
Adds appeal form, sanction logs, contact page, and community rejoin
link to all sanction DM notifications, separated from the sanction
details using a Components v2 separator.
feat: add per-event colour coding to mod and activity logs
Node.js CI / CI (pull_request) Successful in 32s
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 1m1s
8dd66d88c1
Co-Authored-By: Hikari <hikari@nhcarrigan.com>
naomi merged commit 453ebd0f15 into main 2026-03-31 17:33:35 -07:00
naomi deleted branch feat/sanction-dm-links 2026-03-31 17:33:35 -07:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nhcarrigan/keiko#13