GithubHelp home page GithubHelp logo

hubot-slack's Introduction

hubot-slack

This is a Hubot adapter to use with Slack.

Quickstart: Hubot for Slack on Heroku

First, read and understand the instructions on the Hubot wiki. You will be following those instructions, with the following modifications:

  1. Edit package.json and add hubot-slack to the dependencies section.

  2. Edit Procfile and change it to use the slack adapter:

     web: bin/hubot --adapter slack
    
  3. Activate the Hubot service on your "Team Services" page inside Slack.

  4. Configure your Hubot install using the variables displayed on the Hubot Team Service page. Examples:

     % heroku config:add HEROKU_URL=http://soothing-mists-4567.herokuapp.com
     % heroku config:add HUBOT_SLACK_TOKEN=dqqQP9xlWXAq5ybyqKAU0axG
     % heroku config:add HUBOT_SLACK_TEAM=myteam
     % heroku config:add HUBOT_SLACK_BOTNAME=slackbot
    
  5. Follow the rest of the Hubot instructions to get up-and-running.

Adapter configuration

This adapter uses the following environment variables:

HUBOT_SLACK_TOKEN

This is the service token you are given when you add Hubot to your Team Services.

HUBOT_SLACK_TEAM

This is your team's Slack subdomain. For example, if your team is https://myteam.slack.com/, you would enter myteam here.

HUBOT_SLACK_BOTNAME

Optional. What your Hubot is called on Slack. If you entered slackbot here, you would address your bot like slackbot: help. Otherwise, defaults to hubot.

hubot-slack's People

Contributors

alirayl avatar evansolomon avatar grantmd avatar watsonjon avatar

Watchers

 avatar  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.