add run script
This commit is contained in:
parent
da121d6e09
commit
05654189c9
1 changed files with 9 additions and 0 deletions
9
run.sh
Executable file
9
run.sh
Executable file
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue