A slackbot helping you with daily sysadmin tasks such as nslookup and blackklist checks of domains/IP's. Based on slack-bot-server.
A Grape API serving a Slack Ruby Bot to multiple teams. This is a boilerplate that combines a web server, a RESTful API and multiple instances of slack-ruby-bot. It integrates with the Slack Platform API.
Install MongoDB, required to store teams.
Create a New Application on Slack.
Follow the instructions, note the app's client ID and secret, give the bot a default name, etc. The redirect URL should be the location of your app, for testing purposes use http://localhost:9292
. For a local deployment create a .env
file and add SLACK_CLIENT_ID=...
and SLACK_CLIENT_SECRET=...
in it. Run bundle install
and foreman start
. Navigate to localhost:5000. Register using the Slack button.
If you deploy to Heroku set SLACK_CLIENT_ID
and SLACK_CLIENT_SECRET
via heroku config:add SLACK_CLIENT_ID=... SLACK_CLIENT_SECRET=...
.
If you would like the command lookup to work you need to add MXTOOLBOX_API_KEY variable to the .env file. You'll find the key on thier website.
- slack-gamebot, free service at playplay.io
- slack-shellbot, free service at shell.playplay.io
- api-explorer, free service at api-explorer.playplay.io
- slack-market, free service at market.playplay.io
driftbot Copyright John Henriksson, 2016
slack-bot-server Copyright Daniel Doubrovkine, 2015-2016