bingobot/start.sh

10 lines
197 B
Bash
Raw Normal View History

2024-11-06 11:34:45 -08:00
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}