Discord bot that allows students to request modifications to the Programming Party website through natural language prompts in Discord.
- Discord Integration: Responds to messages in a Discord channel
- AI-Powered: Uses Claude to understand requests and generate CSS/HTML changes
- GitHub Integration: Automatically commits and pushes changes to the website repo
- Real-time Updates: Website updates via GitHub Actions
See SETUP.md for deployment instructions.
Required variables in .env:
DISCORD_TOKEN- Discord bot tokenDISCORD_CHANNEL_ID- Channel ID where bot listensCLAUDE_API_KEY- Anthropic API keyGITHUB_TOKEN- GitHub token with repo write accessGITHUB_REPO_OWNER- Website repo ownerGITHUB_REPO_NAME- Website repo nameGITHUB_USER_EMAIL- Email for git commitsGITHUB_USER_NAME- Name for git commitsREPO_LOCAL_PATH- Local path to cloned website repo
pip install -r requirements.txt
python main.pyDeploy on Railway:
- Create a Railway project
- Connect this GitHub repo
- Add environment variables
- Railway will auto-detect Procfile and deploy as a worker