Commit Graph

4 Commits

Author SHA1 Message Date
hikari 3f89b7eb4f fix: replace deprecated ephemeral flag and add error handling across modules
- Replace `ephemeral: true` with `flags: [ MessageFlags.Ephemeral ]` in all command files
- Add try/catch with logger.error to logMenteeJoin, checkAchievements, processMentorshipRole
- Extract handleIssueOpened and handlePrOpened helpers in processGitHubEvent to reduce complexity
- Add logger.error calls in all newly introduced catch blocks
2026-03-03 12:04:20 -08:00
hikari 94247c2a68 refactor: align commands and interaction handler with project style
- Replace forwardToOwner embed approach with getComponentsForNaomi + Components V2
- Extract InteractionCreate handler to src/events/handleInteractionCreate.ts
- Replace deployGlobal.ts script with static commands.json payload
- Fix minor error handling in createTask and onboardMentee
2026-03-03 11:44:20 -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