#!/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