bingobot/start.sh
2024-11-06 11:34:45 -08:00

10 lines
No EOL
197 B
Bash
Executable file

APP_ID=1303795224857804851
if [ ! -f "bot.token" ]; then
echo "can't startup: bot.token file missing"
exit 2
fi
BOT_TOKEN=$(cat bot.token)
./bingobot --app ${APP_ID} --token ${BOT_TOKEN}