Socket
Socket
Sign inDemoInstall

hubot-slack

Package Overview
Dependencies
0
Maintainers
1
Versions
59
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    hubot-slack

A Slack adapter for hubot


Version published
Weekly downloads
28K
decreased by-14.25%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

hubot-slack

This is a Hubot adapter to use with your 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 hipchat
    
  3. Activate the Hubot service on your Slack's "Team Services" page.

  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=foo
     % heroku config:add HUBOT_SLACK_TEAM=tinyspeck
     % 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 the subdomain of your team's slack, so we know where to find you. For example, if your team is https://foo.slack.com/, you would enter foo 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.

Keywords

FAQs

Last updated on 26 Apr 2013

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc