Skip to content

Latest commit

 

History

History
33 lines (21 loc) · 926 Bytes

README.md

File metadata and controls

33 lines (21 loc) · 926 Bytes

Group Lunch Bot

A ReadyTalk Bot Month adventure.

Overview

This bot is designed to be a place to create a lunch group for anyone (Anonomously) to meet and grab lunch somewhere.

Assumptions

  • You have sufficient rights in your Slack team to configure a bot and generate/access a Slack API token.

Usage

Run locally

npm install
SLACK_TOKEN=<YOUR_SLACK_TOKEN> npm start

Things are looking good if the console prints something like:

** API CALL: https://slack.com/api/rtm.start
** BOT ID:  witty  ...attempting to connect to RTM!
** API CALL: https://slack.com/api/chat.postMessage

Run locally in Docker

docker build -t starter-node .`
docker run --rm -it -e SLACK_TOKEN=<YOUR SLACK API TOKEN> starter-node

Acknowledgements

This code uses the botkit npm module by the fine folks at Howdy.ai.

License

See the LICENSE file (MIT).