Simp-O-Matic

Dumb Discord bot in TS.
git clone git://git.knutsen.co/Simp-O-Matic
Log | Files | Refs | README | LICENSE

start.sh (144B)


1
2
3
4
5
6
7
8
9
#!/bin/sh
yarn install
yarn build

. ./.env

# Starting the bot.
PID="$(sh -c 'echo $$; exec yarn start >./.log 2>&1' &)"
echo "$PID" > ./.pid