At first I was suspicious of this.. Slack sends every channel message out to be parsed by a script? That's not good! But once I looked at the source it all made sense. Yes, in order to operate properly you need to be sending every message in a channel to heroku so that it can do the .05% probability matching and not give a reply every time (or only on specific keywords). This is how most slack web hooks work.
Looking at the source is very educational! I can't wait to take this whole solution and modify it with some company-specific features. It's really a wonderful introduction into using this Slack feature and to Heroku as well. Thanks for posting!
11 comments
[ 3.2 ms ] story [ 35.4 ms ] thread:)
If anyone wants to reuse it, the source code is on Github: https://github.com/stallmaninterjector/rms-on-steroids/blob/...
Looking at the source is very educational! I can't wait to take this whole solution and modify it with some company-specific features. It's really a wonderful introduction into using this Slack feature and to Heroku as well. Thanks for posting!