diff --git a/run.sh b/run.sh new file mode 100755 index 0000000..460fd18 --- /dev/null +++ b/run.sh @@ -0,0 +1,9 @@ +#!/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