Git Product home page Git Product logo

hull-slack's Introduction

Hull Slack Connector

Sends Hull Events and Activity to Slack. Lets you search in Hull from there.

If you want your own instance: Deploy


Using :

See Readme here

Developement setup :

git clone [email protected]: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

Logged events

Here are the events that the Slack connector tracks

  • outgoing.user.error - Error trying to post the user to slack
  • outgoing.user.success - User was correctly posted to a channel or member
  • outgoing.user.reply - Bot replied to a user request
  • user.fetch.fail - Bot failed to search for a user that was requested
  • user.fetch.success - Bot found a user that was requested
  • bot.error - An uncaught error happened.
  • bot.reply - Bot replied to a user message
  • bot.hear - Bot was mentioned and noticed it.
  • bot.interactiveMessage.post bot detected a click on a Slack button and will reply
  • bot.interactiveMessage.error - Bot failed fetching events for a user following a click on Display 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 needs
  • bot.setup.error - Bot failed to setup the channels it needs

Environment variables

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

hull-slack's People

Contributors

unity avatar michaloo avatar sbellity avatar smk1085 avatar areskub avatar

Watchers

James Cloos avatar Auree Aubert avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.