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.
This commit is contained in:
Piper Pentagram 2024-11-08 16:26:05 -08:00
parent 5e4662c8b0
commit bbcf6ef6cf
5 changed files with 93 additions and 24 deletions

View file

@ -7,4 +7,4 @@ fi
BOT_TOKEN=$(cat bot.token)
./bingobot --app ${APP_ID} --token ${BOT_TOKEN}
./bingobot --token ${BOT_TOKEN}