hubot-slack-utils

0.0.5 • Public • Published

Hubot Slack Utilities npm version Build Status

This script is designed to be used with a Hubot to interact with Slack.

Adding to Your Hubot

See full instructions here.

  1. npm install hubot-slack-utils --save (updates your package.json file)
  2. Open the external-scripts.json file in the root directory (you may need to create this file) and add an entry to the array (e.g. [ 'hubot-slack-utils' ]).

Commands

  • slack delete last [<count>] - Delete the last (N) Hubot posts in the current room or group.

Suggested Setup

  • The form fields presented there are, in order, the following Hubot environment variables:
  • HUBOT_SLACK_TOKEN
  • HUBOT_BOT_NAME
  • Register the two values as environment variables when starting your bot (as usual with Hubot scripts) using export or heroku config:set or whatever applies to your Hubot hosting environment.

/hubot-slack-utils/

    Package Sidebar

    Install

    npm i hubot-slack-utils

    Weekly Downloads

    7

    Version

    0.0.5

    License

    MIT

    Last publish

    Collaborators

    • ntangy
    • amagana286
    • goistjt
    • americk0
    • ekozlowski
    • wbarker
    • brianantonelli
    • pofallon