Thumperdc < Desktop TRENDING >

# 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:

# Bot token from step 3 TOKEN=YOUR_DISCORD_BOT_TOKEN_HERE thumperdc

# Or using Yarn yarn install --frozen-lockfile Create a file called .env in the root folder: # Spotify credentials (optional – for Spotify playback)

[Service] Type=simple User=discordbot WorkingDirectory=/opt/thumperdc ExecStart=/usr/bin/node src/index.js Restart=on-failure EnvironmentFile=/opt/thumperdc/.env thumperdc

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

# 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: