https://github.com/thewhaleking/benbot
Slack bot that reads lunch/dinner menus, stores them, and regurgitates this info on command.
https://github.com/thewhaleking/benbot
bot slack slack-bot
Last synced: 5 months ago
JSON representation
Slack bot that reads lunch/dinner menus, stores them, and regurgitates this info on command.
- Host: GitHub
- URL: https://github.com/thewhaleking/benbot
- Owner: thewhaleking
- License: mit
- Created: 2019-12-09T15:32:54.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-11-26T08:16:36.000Z (over 1 year ago)
- Last Synced: 2024-11-26T09:24:34.337Z (over 1 year ago)
- Topics: bot, slack, slack-bot
- Language: Python
- Size: 37.1 KB
- Stars: 3
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# benbot
Slack bot that gets Cafe Bon Appetit lunch menus and regurgitates this info on command.
## How do I use this?
1. Clone the repo
2. Create a [Slack app](https://api.slack.com/apps)
3. Add a bot token to your Slack app.
4. Copy the `config/config.tpl.yml` to `config/config.yml` and fill it out with your values
5. Find your cafe-name(s) from the Cafe Bon Appetit URL (`https://{company}.cafebonappetit.com/cafe/{cafe}/`)
6. Get the app running in your server (implementation totally up to you, I use NGINX to run `hypercorn --bind unix:benbot.sock -m 007 src/benbot6:app`)
7. Set your Slack app up for Event Subscriptions (really only need app_mention with the app_mentions:read scope)
8. Have fun.