Thumperdc -
# Prefix for legacy commands (slash commands don’t need this) PREFIX=!
# Install extra deps npm install express express-session passport-discord thumperdc
# Or using Yarn yarn install --frozen-lockfile Create a file called .env in the root folder: # Prefix for legacy commands (slash commands don’t
logs/ (rotated daily). Look for [ERROR] lines for stack traces. 9️⃣ Updating the Bot git pull origin main npm ci # reinstall any new deps npm run build # if the repo uses TypeScript npm restart # or stop & start manually Tip: Set up a systemd service (Linux) or a PM2 process to auto‑restart on failure. Example systemd unit [Unit] Description=ThumperDC Discord Bot After=network.target 9️⃣ Updating the Bot git pull origin main
# Owner ID – your Discord user ID (for admin‑only commands) OWNER_ID=123456789012345678
# In .env DASHBOARD_ENABLED=true DASHBOARD_PORT=8080 Run with npm run dashboard . The dashboard uses Discord OAuth2; you must register a Redirect URI ( https://yourdomain.com/auth/callback ) in the Developer Portal. 7.3 Scaling with Multiple Shards For bots in >2,500 guilds: