Files
1800queue/scripts/mac-linux/install
2022-01-31 13:56:39 -06:00

18 lines
279 B
Bash
Executable File

#!/bin/bash
#change to ccurrent directory
cd -- "$( dirname -- "${BASH_SOURCE[0]}" )"
cd ../..
#run
npm install
#discord token
[ ! -f "token" ] && touch "token"
if [ ! -s "token" ]
then
printf "Enter your discord bot token: "
read token
printf $token > "token"
fi