Mit einem VPS bleibt Ihr Discord-Bot rund um die Uhr online. Landingpage: Discord-Server. Übersicht: VPS.
Voraussetzungen
- Linux-VPS mit 1–2 GB RAM
- Token aus dem Discord-Developer-Portal
Minimaler Stack
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