Commit Graph

24 Commits

Author SHA1 Message Date
hikari f9f149afdc feat: merge forward-to-owner context command (#13)
# Conflicts:
#	src/index.ts
2026-03-03 10:58:55 -08:00
hikari d0aaa7ec2f fix: resolve all linting issues in command files
Refactored createIssue, createTask, and onboardMentee commands to
extract helper functions, fix JSDoc descriptions, correct type
handling, and satisfy all ESLint rules. Also fixed object-shorthand
mixing in index.ts and the naming convention in anthropic.ts.
2026-03-03 10:58:45 -08:00
naomi 9df2d9ddc4 wip: commands 2026-03-03 09:38:18 -08:00
hikari 5e149a29e4 feat: mentorship improvements and name mention notifications (#14)
Node.js CI / CI (push) Successful in 36s
Security Scan and Upload / Security & DefectDojo Upload (push) Successful in 1m27s
## 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~ 🌸

Co-authored-by: Naomi Carrigan <commits@nhcarrigan.com>
Reviewed-on: #14
Co-authored-by: Hikari <hikari@nhcarrigan.com>
Co-committed-by: Hikari <hikari@nhcarrigan.com>
2026-03-02 16:03:14 -08:00
teklu 10c7d337a5 fix: solve linter error
Node.js CI / CI (pull_request) Successful in 28s
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 51s
2026-02-23 22:40:53 +09:00
teklu 60fec0f2d8 fix: solve linter error
Node.js CI / CI (pull_request) Failing after 24s
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 53s
2026-02-21 23:36:20 +09:00
teklu 0a3c000add fix: fix lint erorr
Node.js CI / CI (pull_request) Failing after 23s
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 50s
2026-02-17 01:13:41 +09:00
teklu 0394d03361 feat: add owner-only message context menu to forward messages to DMs 2026-02-16 19:48:27 +09:00
naomi 53274ec38c feat: auto-tag the new community fora
Node.js CI / Lint and Test (push) Successful in 1m29s
2025-12-09 12:24:55 -08:00
naomi 5cadb9bbee feat: analytics
Node.js CI / Lint and Test (push) Successful in 49s
2025-10-08 08:41:37 -07:00
naomi 36ad30e4a2 feat: let amari handle my progress reminders
Node.js CI / Lint and Test (push) Successful in 50s
2025-10-06 16:53:41 -07:00
naomi 996cde5e2f feat: notify when naomi earns achievements
Node.js CI / Lint and Test (push) Successful in 48s
2025-09-10 13:21:08 -07:00
naomi bfaf757d3e feat: track if mentees join or leave
Node.js CI / Lint and Test (push) Successful in 45s
2025-09-02 19:34:24 -07:00
naomi 9cc8f1fdbb feat: send onboarding message when mentorship role granted
Node.js CI / Lint and Test (push) Successful in 46s
2025-09-02 19:11:43 -07:00
naomi 7facefccd8 feat: track when naomi is recently active
Node.js CI / Lint and Test (push) Successful in 48s
2025-09-02 14:14:03 -07:00
naomi d5c0abe4d8 feat: webhook for forms
Node.js CI / Lint and Test (push) Successful in 45s
2025-08-27 18:55:22 -07:00
naomi 1b7f83f335 feat: auto-assign issues and prs to naomi
Node.js CI / Lint and Test (push) Successful in 42s
2025-08-27 17:58:28 -07:00
naomi 1d4f0af6f8 feat: support discussion forum
Node.js CI / Lint and Test (push) Successful in 43s
2025-08-21 12:17:28 -07:00
naomi 1346a29a1f fix: cache user data, do daily role sweep
Node.js CI / Lint and Test (push) Successful in 38s
2025-08-20 16:35:01 -07:00
naomi 4611b13465 feat: grant role when user applies our tag
Node.js CI / Lint and Test (push) Successful in 39s
2025-08-20 16:09:37 -07:00
naomi 186414e96a feat: pull from hackernews
Node.js CI / Lint and Test (push) Successful in 40s
2025-08-20 13:58:03 -07:00
naomi b5c19abb52 feat: syndicate freeCodeCamp news posts 2025-08-20 12:23:53 -07:00
naomi 344548c5d2 feat: ability to mark dms as resolved
Node.js CI / Lint and Test (push) Successful in 37s
2025-08-19 18:19:20 -07:00
naomi a05de6ba2a feat: initial prototype
Node.js CI / Lint and Test (push) Successful in 37s
2025-08-19 17:16:42 -07:00