This project uses:
- Bun as the JavaScript runtime
- TypeScript with strict type checking
- discord.js for Discord API interaction
- Claude Code CLI for AI interactions
To modify the code:
# Install dependencies
bun install
# Run during development (restart manually after changes)
bun start
# Run tests
bun testNote: Hot reload is not recommended for this bot as it can cause process management issues and spawn multiple Claude processes.
- Private Server Recommended: Use a private Discord server for your repositories to avoid exposing project details
- User Restriction: Only the configured
ALLOWED_USER_IDcan interact with the bot - Environment Variables: Keep your
.envfile secure and never commit it to version control - Bot Token: Keep your Discord bot token secure - treat it like a password
- Check that the bot has proper permissions in the channel
- Verify your
ALLOWED_USER_IDis correct - Check the console for error messages
- Ensure the folder exists:
/path/to/repos/channel-name - Check that
BASE_FOLDERin.envis correct - Verify folder names match Discord channel names exactly
- Sessions are stored in memory and reset when the bot restarts
- Use
/clearif you want to intentionally reset a session