Thumperdc: [repack]

Thumperdc: [repack]

# (Optional) Database URL – if you want PostgreSQL/MySQL # DATABASE_URL=postgres://user:pass@localhost:5432/thumperdc

# Prefix for legacy commands (slash commands don’t need this) PREFIX=!

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 thumperdc

# Install extra deps npm install express express-session passport-discord

# Bot token from step 3 TOKEN=YOUR_DISCORD_BOT_TOKEN_HERE # (Optional) Database URL – if you want

# Or using Yarn yarn install --frozen-lockfile Create a file called .env in the root folder:

[Service] Type=simple User=discordbot WorkingDirectory=/opt/thumperdc ExecStart=/usr/bin/node src/index.js Restart=on-failure EnvironmentFile=/opt/thumperdc/.env 9️⃣ Updating the Bot git pull origin main

[Install] WantedBy=multi-user.target Enable with sudo systemctl enable thumperdc && sudo systemctl start thumperdc . | Q | A | |---|---| | Do I need a premium subscription for music? | No. ThumperDC uses YouTube and SoundCloud public streams. Spotify playback requires a Spotify Premium token and is optional. | | Can I host the bot for free? | Yes, on any VPS with at least 256 MiB RAM and a modest CPU. The bot’s baseline RAM usage is ~50 MiB. | | Is there a public instance I can test? | Some community servers run a public “demo” instance. Ask the maintainer on the official GitHub Issues page for an invite. | | **

↑ Back to top