Sends Hull Events and Activity to Slack. Lets you search in Hull from there.
If you want your own instance:
git clone git@github.com:hull-ships/hull-slack.git
cd hull-slack
yarn
npm run ngrok # Serves connector on `https://slack.eu.ngrok.io` - See `package.json`
npm run start:dev # starts in development mode
npm run build # builds the app
npm run test # runs tests
Here are the events that the Slack connector tracks
outgoing.user.error
- Error trying to post the user to slackoutgoing.user.success
- User was correctly posted to a channel or memberoutgoing.user.reply
- Bot replied to a user requestuser.fetch.fail
- Bot failed to search for a user that was requesteduser.fetch.success
- Bot found a user that was requestedbot.error
- An uncaught error happened.bot.reply
- Bot replied to a user messagebot.hear
- Bot was mentioned and noticed it.bot.interactiveMessage.post
bot detected a click on a Slack button and will replybot.interactiveMessage.error
- Bot failed fetching events for a user following a click onDisplay Events
bot.interactiveMessage.error
- Bot failed to update an interactive message (you update them by clicking the buttons in the User profile's footer)bot.setup.start
- Bot starting setup of the channels it needsbot.setup.error
- Bot failed to setup the channels it needs
CLIENT_ID=:"Slack Key"
CLIENT_SECRET="Slack Secret"
SECRET="A randomly created secret. Make it long and complex"
Don't forget to setup your Slack dev app to allow callback URLs to your local instance as described in the redirect_uri
section of Slack OAuth Docs