Thumperdc -
# (Optional) Database URL – if you want PostgreSQL/MySQL # DATABASE_URL=postgres://user:pass@localhost:5432/thumperdc
/ping You should get a “Pong!” reply. 5.1 Generate the Invite Link Replace YOUR_CLIENT_ID with the Application ID from the Discord Developer Portal.
# YouTube API key (optional – required for YouTube search) YT_API_KEY=YOUR_YOUTUBE_API_KEY thumperdc
# Spotify credentials (optional – for Spotify playback) SPOTIFY_CLIENT_ID=... SPOTIFY_CLIENT_SECRET=... If you’re using the default SQLite store, you don’t need DATABASE_URL . 4.4 Run the Bot npm start # or: node src/index.js You should see something like:
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 # (Optional) Database URL – if you want
[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. | | **
# Prefix for legacy commands (slash commands don’t need this) PREFIX=! SPOTIFY_CLIENT_SECRET=
[INFO] Logged in as ThumperDC#1234 (ID: 987654321098765432) [INFO] Ready! Connected to 0 guilds. Now add the bot to a server (see Invite URL below) and test a slash command, e.g.: