jehjoqanfc

This commit is contained in:
Alex Brow 2020-03-23 13:45:31 -04:00
parent 0f4bf40b83
commit f6fe52dc16
No known key found for this signature in database
GPG Key ID: F48926893F475C25
2 changed files with 6 additions and 3 deletions

View File

@ -1,8 +1,11 @@
#!/usr/bin/env bash
echo "Updating"
#update everything
cd /home/tech1/Osselbot/
#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

View File

@ -334,4 +334,4 @@ client.on("message", async message => {
};
});
client.login(config.token);
client.login(config.token)