Slack bot that gets Cafe Bon Appetit lunch menus and regurgitates this info on command.
- Clone the repo
- Create a Slack app
- Add a bot token to your Slack app.
- Copy the
config/config.tpl.yml
toconfig/config.yml
and fill it out with your values - Find your cafe-name(s) from the Cafe Bon Appetit URL (
https://{company}.cafebonappetit.com/cafe/{cafe}/
) - 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
) - Set your Slack app up for Event Subscriptions (really only need app_mention with the app_mentions:read scope)
- Have fun.