A multi-component project featuring a C# Discord bot (utilizing NetCord) and a Cloudflare Worker backend. Developed for the MouseHunt Community Discord Server for integration with the HitGrab game MouseHunt.
- Built with .NET 10.0
- Uses NetCord for Discord API
- Entity Framework Core for data access
- Modular design: commands, services, gateway handlers
-
Install .NET 10.0 SDK
-
Build:
dotnet build
- A simple Request trampoline due to Cloudflare protection for MouseHunt
- Uses Wrangler for deployment
-
Navigate to
worker -
Install dependencies:
bun install
-
Run locally:
wrangler dev
-
Deploy:
wrangler deploy
- Automated deployment via GitHub Actions (
.github/workflows/cloudflare.yml) - Deploys worker from
/workerdirectory
- C# bot: MSTest (see
bot/tests/) - Worker: Vitest (see
worker/tests/)
- Fork the repo
- Create a feature branch
- Submit a pull request
MIT
For more details, see the documentation in each subdirectory.