🤖 How to Put Your Discord Bot Online
- Update your system
sudo apt update && sudo apt upgrade -y
- Install Node.js
curl -fsSL https://deb.nodesource.com/setup_16.x | sudo -E bash -
sudo apt-get install -y nodejs
- Verify that it is properly installed
node -v
npm -v
- Import your bot files to your VPS
- Start your Discord bot:
npm install
node myfile.js
❗Always Good to Know