An open source bot to help manage game nights on Discord.
- Allow staff to run game nights with minimal risk of granting permissions.
- Easy channel creation, management, and deletion.
- A Discord bot token.
- A Discord server with the necessary permissions to create and manage channels.
- A Cloudflare Workers account.
- A Cloudflare K/V storage object.
This bot is designed to be deployed to Cloudflare Workers. To deploy, follow these steps:
- Clone the repository.
- Run
npm installto install dependencies. - Copy
.example.dev.varsto.dev.vars.prodand fill in the required variables. - Copy
example.wrangler.tomltowrangler.tomland update it with the proper configuration for your server: - Add secrets to your Cloudflare Worker:
npm run secret DISCORD_TOKENnpm run secret DISCORD_APPLICATION_IDnpm run secret DISCORD_PUBLIC_KEY
- Register your bot's commands:
npm run register prod
- Deploy your bot to Cloudflare Workers:
npm run deploy
- Configure your bot's Interactions Endpoint URL in the Discord Developer Portal to point to your Cloudflare Workers URL.