bingobot/start.sh
Piper Pentagram bbcf6ef6cf Create discord package and connect/disconnect handlers
This change moves the discord session singleton to the internal/discord
package, and implements basic Connect/Disconnect handlers.
2024-11-08 16:26:05 -08:00

10 lines
182 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 --token ${BOT_TOKEN}