ruche-manager/run.sh

9 lines
161 B
Bash
Executable file

#!/bin/sh
set -e
cd "$(dirname "$(realpath "$0")")"
if ! [ -f ./token ]
then echo "ERROR : Needs discord API token in ./token" && exit
fi
./src/bot.ts ./token