WIP: Initial bot prototype #7

Draft
hikari wants to merge 4 commits from feat/prototype into main
Owner

Summary

  • Set up Prisma schema for pairing history with event support
  • Scaffold Discord bot with database connection and logging
  • Configure TypeScript for ES modules with top-level await

What's done

  • Prisma schema with ServerEvent and UserPairingHistory models
  • Discord.js client initialization
  • Database connection via Prisma
  • Logger integration with @nhcarrigan/logger

What's next

  • Implement /breakout command
  • Auto-create voice channels
  • Pairing history tracking
  • Smart grouping algorithm
  • /breakout stats command

This PR was created with help from Hikari~ 🌸

## Summary - Set up Prisma schema for pairing history with event support - Scaffold Discord bot with database connection and logging - Configure TypeScript for ES modules with top-level await ## What's done - [x] Prisma schema with `ServerEvent` and `UserPairingHistory` models - [x] Discord.js client initialization - [x] Database connection via Prisma - [x] Logger integration with `@nhcarrigan/logger` ## What's next - [ ] Implement `/breakout` command - [ ] Auto-create voice channels - [ ] Pairing history tracking - [ ] Smart grouping algorithm - [ ] `/breakout stats` command ✨ This PR was created with help from Hikari~ 🌸
hikari added 4 commits 2026-01-21 20:25:05 -08:00
- Initialize pnpm project with TypeScript support
- Add standard ESLint and TypeScript configurations
- Create basic src/index.ts with sample export
- Set up GitHub Actions CI workflow
- Add prod.env with 1Password references
- Configure .gitignore for Node.js projects

Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
Add MongoDB schema with Prisma 6.8.2 for tracking:
- ServerEvent: events per server (coffee chats, study groups, etc.)
- UserPairingHistory: user pairing records per server
- PairingRecord: individual pairing entries with event context

This enables smart grouping that avoids recent pairings per-event.
feat: set up Discord bot scaffolding
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 48s
7997c9f59d
- Add Rondelle interface with discord client and database
- Add logger utility using @nhcarrigan/logger
- Add database utility for Prisma client instantiation
- Update index.ts with bot startup logic
- Update .gitignore to exclude prod/ build output
Some checks are pending
Security Scan and Upload / Security & DefectDojo Upload (pull_request) Successful in 48s
This pull request is marked as a work in progress.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin feat/prototype:feat/prototype
git checkout feat/prototype
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/rondelle#7