Osselbot/src/bot-start.sh

12 lines
200 B
Bash
Executable File

#!/usr/bin/env bash
echo "Updating"
#Update Node Based stuff
n stable
npm upgrade discord.js
#update code
cd /home/tech1/Osselbot/
git pull --force
#Starts the bot
echo "STARTING"
node ./src/index.js