Skip to content

carrot/botify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Botify - the Slack Bot

Overview

Botify is Node.js Slack bot hosted on Beep Boop using Slapp.

Visit Beep Boop to get the scoop on the the Beep Boop hosting platform. The Slack API documentation can be found here.

Note: This app is still a work in progress

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
PORT=<PORT TO RUN ON> 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 botify .`
docker run --rm -it -e PORT=<PORT TO RUN ON> botify

Run in BeepBoop

If you have linked your local repo with the Beep Boop service (check here), changes pushed to the remote master branch will automatically deploy.

Acknowledgements

This code uses:

slapp

License

See the LICENSE file (MIT).

About

Spotify slackbot experiment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published