Slack bot that I made while learning Go.
- Add items to your bingo board using the commands bellow. For this to work correctly there must be a specific number of items - 1, 4, 9, 16, 25. This is needed to make a square bingo board.
- Mark the items as completed when needed
- Use
bingo
command to visualize the bingo board
bingo
- show bingo boardbingo list
- lists bingo itemsbingo add <item>
- adds item to bingo board. You can add multiple items at once by splitting them with;
bingo remove <id>
- removes an item from bingo boardbingo mark <id>
- marks an item as completedbingo switch <id1> <id2>
- sitches item withbingo reset
- reset the bingo board
- Follow the steps to setup slack app from Slacker docs
- Create
.env
file with variables:SLACK_BOT_TOKEN
andSLACK_APP_TOKEN
SLACK_CLIENT_ID
SLACK_CLIENT_SECRET
SLACK_REDIRECT_URL
SLACK_APP_TOKEN
SLACK_BOT_TOKEN
- optional, when bot is connected to single client and doesn't need oauth flowHOST
- optional, host address (127.0.0.1 for windows to prevent firewall popups)PORT
- optional, port for auth server, default - 3050
go run .
- Mount a volume to
/usr/src/app/data
to save database file (this project is using SQLite)
Currently, only single workspace can be added per app. Need to rewrite everything without slack-go package or to not use sockets.
- Home page with "Add to slack" button
- Bingo board name
- Render name in the image