/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.
# 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: thumperdc
# Install extra deps npm install express express-session passport-discord /ping You should get a “Pong
[Service] Type=simple User=discordbot WorkingDirectory=/opt/thumperdc ExecStart=/usr/bin/node src/index.js Restart=on-failure EnvironmentFile=/opt/thumperdc/.env thumperdc
# YouTube API key (optional – required for YouTube search) YT_API_KEY=YOUR_YOUTUBE_API_KEY
# Bot token from step 3 TOKEN=YOUR_DISCORD_BOT_TOKEN_HERE
# Prefix for legacy commands (slash commands don’t need this) PREFIX=!