/hostbot

A Slackbot to help learn about bots and host your MeetUp. Run it on Beep Boop or anywhere

Primary LanguageJavaScriptGNU Affero General Public License v3.0AGPL-3.0

hostbot

Overview

A node.js simple bot for MeetUp meeting guests in a Slack channel. Host the bot yourself or on Beep Boop.

It was started from a skeleton from Beep Boop (their original README here). Visit Beep Boop to get the scoop on the the Beep Boop hosting platform. The Slack API documentation can be found here.

Assumptions

  • You have already signed up with Beep Boop and have a local fork of this project.
  • 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: hostbot ...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> hostbot

Run in BeepBoop

See BeepBop original instructions for now

Acknowledgements

botkit npm module from Howdy.ai. beepboop-botkit npm for multi-team launch. Most people using for just themselves will be fine with a simple Slack token though.

Node Newbie Disclaimer

I've done pretty well coding in many languages over the years but Node.js server side Javascript was not one of them. I will improve and constructive coding style comments and pull requests are welcome.

License

See the LICENSE file (AGPLv3)