Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

install discord bot on server

sudo apt install npm
sudo apt install npm pm@latest
git clone <url>
#or upload it via ftp or smb
#cd into folder where the projekt is strored
sudo npm i -g pm2
sudo pm2 start <your main file>
sudo pm2 monit
#check if botis running
 
PREVIOUS NEXT
Tagged: #install #discord #bot #server
ADD COMMENT
Topic
Name
1+9 =