BoardGameGeek.com integrated slack bot
source bot-env/bin/activate
- Install requirements
python app.py
ngrok http 5000
.- Add url to slack app
- Make config file
secrets.py
- Create AWS IAM with full access and store credentials in
~/.aws/credentials
- Create
zappa_settings.json
orzappa init
{
"dev": {
"app_function": "app.app",
"profile_name": null,
"project_name": "bgg-bot",
"runtime": "python3.6",
"s3_bucket": "...",
"aws_region": "..."
}
}
zappa deploy dev
to pack and deploy to AWS Lambda- Add url to slack app
zappa tail
for logs or zappa update dev
for updating module changes (not endpoints)
- Poll my BGG plays and post update after a new play logged.
- Aggregate and store leaderboard
- Query support for leaderboard. Stats, etc.
- Fetch game details from BGG. Rank, summary, etc.
- Structure the app
- Implement hi
- Bug: post to correct channel
- Implement game lookup
- Geeksearch
- Implement fetch command
- Implement die roll
- Good name for bot
- Display average BGG rating and num ratings in
fetch
- Leaderboard, logs and stats
- requirements.txt
- Unit tests
- Quiz/game mode