Linux VPS

Discord botu barındırma (Node.js)

HolyCloud Linux VPS üzerinde Node.js ve PM2 ile 7/24 çalışan bir Discord botu çalıştırın.

~7 dk. okuma Acemi #discord#bot#nodejs#vps

Bir VPS, Discord botunuzu 7/24 çevrimiçi tutar. Tanıtım sayfası: Discord sunucusu. Merkez: VPS.

Ön koşullar

  • 1–2 GB RAM'li Linux VPS
  • Discord Developer token'ı

Asgari yığın

sudo apt update && sudo apt install -y nodejs npm
mkdir -p ~/discord-bot && cd ~/discord-bot
npm init -y
npm install discord.js dotenv
npm install -g pm2
pm2 start index.js --name discord-bot
pm2 save && pm2 startup

Sonraki adımlar