You'll need Node.js 24+, a MongoDB instance, and your own Discord application — never the production bot's token.
git clone https://github.com/HarkiratMangat/diors-builds.git
npm install
Create a .env.dev file with your own credentials (it's gitignored):
BOT_TOKEN=your_own_dev_bot_token
MONGODB_URI=mongodb://localhost:27017/diors-builds-dev
NODE_ENV=development
Run it with auto-reload:
node --watch --env-file=.env.dev index.js
⚠️ dotenv.config() runs after --env-file and backfills anything you omit. Leaving a key out of .env.dev doesn't unset it — it silently inherits whatever is in .env. To disable something in dev, set it explicitly blank.
Deployment notes and the fuller dev-bot setup: docs/reference/deployment-and-ops.md.