Lunchbot wants to know what's for lunch.
Adapted from importio-slack-app for the Slack Events API.
You'll need a Slack app subscribed to the app_mention
event, and you'll need your OAuth token
and signing secret to run the app. For help setting this up, check Slack documentation.
pip install -r requirements.txt
export SLACK_BOT_TOKEN=<token>
export SLACK_SIGNING_SECRET=<secret>
python bot.py
This will run the bot locally on port 3000.
- Cache menu files
- Support DMs
- Slightly future proof - e.g. make it easy to write new "menu providers"