Skip to content

dblock/slack-bot-on-rails

 
 

Repository files navigation

Slack-Bot-On-Rails

What's this?

A slack bot that responds to say, running on Rails with a React front-end that displays messages.

Run Me

In Slack administration create a new Bot Integration under services/new/bot. On the next screen note the Slack API token.

bundle install

SLACK_API_TOKEN="your token here" rails s

Navigate to http://localhost:3000.

Invite the bot to a channel, then ask it to say hi.

Implementation Details

  1. A vanilla Rails app created via rails new slack-bot-on-rails --skip-activerecord -T, in @d092f4ed.
  2. A slack-ruby-bot that responds to say something, in @a93877ae.
  3. A react app that displays messages sent to Slack, in @9632e9f1.

Copyright & License

Copyright Daniel Doubrovkine, MIT License.

About

A Rails + React application with a slack bot.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 77.6%
  • HTML 12.6%
  • CoffeeScript 6.3%
  • JavaScript 1.8%
  • CSS 1.7%