#!/bin/bash #change to ccurrent directory cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" cd ../.. #run npm install #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