Files
Ashley Rosch f7da37ffe3 minor updates
2022-04-01 13:14:15 -05:00

19 lines
309 B
Bash
Executable File

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