feat: mentorship improvements and name mention notifications #14

Merged
naomi merged 5 commits from feat/highlights into main 2026-03-02 16:03:14 -08:00
Owner

Summary

  • Name/title mention notifications: Amari now notifies Naomi when a message contains her name, common nicknames (nomi, nao, nae, naonao), or honorifics (goddess, queen, mistress, your/her majesty, your/her highness). Uses the same cooldown logic as mention forwarding.
  • Simplified mentee onboarding: Replaced the lengthy welcome message with a concise prompt asking the new mentee to ping Naomi with their GitHub username and name.
  • Removed offboard notification: logMenteeLeave now only logs a metric silently — no more "user must be offboarded" messages in the channel.
  • Deduplicated welcome messages: Welcomed mentee IDs are persisted to data/welcomed.txt so the onboarding message is only ever sent once, even if the role is re-assigned.

Test plan

  • Assign mentorship role to a user and confirm the new onboarding message appears
  • Re-assign the role to the same user and confirm no duplicate message is sent
  • Remove a mentee from the server and confirm no offboard message is posted
  • Send a message containing a matched name/honorific and confirm Naomi receives a DM forwarding it

This PR was created with help from Hikari~ 🌸

## Summary - **Name/title mention notifications**: Amari now notifies Naomi when a message contains her name, common nicknames (`nomi`, `nao`, `nae`, `naonao`), or honorifics (`goddess`, `queen`, `mistress`, `your/her majesty`, `your/her highness`). Uses the same cooldown logic as mention forwarding. - **Simplified mentee onboarding**: Replaced the lengthy welcome message with a concise prompt asking the new mentee to ping Naomi with their GitHub username and name. - **Removed offboard notification**: `logMenteeLeave` now only logs a metric silently — no more "user must be offboarded" messages in the channel. - **Deduplicated welcome messages**: Welcomed mentee IDs are persisted to `data/welcomed.txt` so the onboarding message is only ever sent once, even if the role is re-assigned. ## Test plan - [ ] Assign mentorship role to a user and confirm the new onboarding message appears - [ ] Re-assign the role to the same user and confirm no duplicate message is sent - [ ] Remove a mentee from the server and confirm no offboard message is posted - [ ] Send a message containing a matched name/honorific and confirm Naomi receives a DM forwarding it ✨ This PR was created with help from Hikari~ 🌸
hikari added 2 commits 2026-03-02 15:12:59 -08:00
feat: notify naomi of name and title mentions
Node.js CI / CI (pull_request) Successful in 28s
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 56s
8ee5fa7ced
naomi added 1 commit 2026-03-02 15:37:07 -08:00
fix: remove mentee offboard notification on leave
Node.js CI / CI (pull_request) Successful in 28s
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 51s
a448d22e18
naomi added 1 commit 2026-03-02 15:43:40 -08:00
fix: simplify mentee onboarding message
Node.js CI / CI (pull_request) Successful in 27s
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 56s
5efac612f9
naomi added 1 commit 2026-03-02 15:55:25 -08:00
feat: deduplicate mentee welcome messages
Node.js CI / CI (pull_request) Successful in 29s
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 1m1s
b1196158a5
Track welcomed mentees in data/welcomed.txt to prevent sending the onboarding message multiple times if the mentorship role is re-assigned.
hikari changed title from feat: notify naomi of name and title mentions to feat: mentorship improvements and name mention notifications 2026-03-02 15:58:58 -08:00
naomi merged commit 5e149a29e4 into main 2026-03-02 16:03:14 -08:00
naomi deleted branch feat/highlights 2026-03-02 16:03:14 -08:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nhcarrigan/amari#14