ruche-manager/run.sh

9 lines
186 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
DEBUG=871777993922588712 ./src/bot.ts ./token