https://github.com/movableink/clubhouse-slack-filter
Filter messages that come from clubhouse into slack
https://github.com/movableink/clubhouse-slack-filter
Last synced: 2 months ago
JSON representation
Filter messages that come from clubhouse into slack
- Host: GitHub
- URL: https://github.com/movableink/clubhouse-slack-filter
- Owner: movableink
- Created: 2015-09-04T00:09:27.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-11-17T02:26:05.000Z (over 2 years ago)
- Last Synced: 2025-01-31T13:43:41.931Z (4 months ago)
- Language: JavaScript
- Size: 5.86 KB
- Stars: 2
- Watchers: 7
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# clubhouse-slack-filter
Filter messages that come from clubhouse into slack
## Usage
* Clone this repo
* Use `heroku create` to create a new heroku app
* `heroku config:set CLUBHOUSE_MESSAGE_REGEX="^\[devops](.*?)to Done"` to set up which messages the filter will pass along to Slack. Make sure you escape backslashes in the regex.
* `heroku config:set EMBELLISHMENT=":tada: |MESSAGE|" to prepend the `:tada:` emoji before the message, or anything else you want
* Go to slack.com and *Configure Integrations*, choose *Incoming Webhooks* and set up a new webhook.
* Take the Webhook URL and do `heroku config:set SLACK_HOOK_URL=https://...`
* `git push heroku master` to deploy the app