hubot-mute
Allows channels to mute hubot (prevent him from responding to any other commands) if quiet is required
Last updated 5 years ago by alexhouse .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install hubot-mute 
SYNC missed versions from official npm registry.

Hubot Mute

Allows channels to mute Hubot if quiet is required for whatever reasons. Hubot will not respond to any commands in a muted channel (other than mute commands).

Build Status NPM version

Usage

  • hubot mute list - List all individually muted channels
  • hubot global mute - Globally mute all channels
  • hubot global unmute - Globally unmute all channels (but keep individually muted)
  • hubot mute {channel} - Mute specific channel
  • hubot unmute {channel} - Unmute specific channel
  • hubot unmute all (the things) - Unmute all individually muted channels

Configuration

This script requires the env variable HUBOT_MUTE_ROOM_PREFIX to be set. This is used in determining how to respond to the channel. This should ALWAYS be set - even if blank (i.e. hipchat)

For example, if you're on IRC or Slack you'll probably want this setting as #. Basecamp should be able to leave it as blank.

Installation

Add the package "hubot-mute": "*" as a dependency in your Hubot package.json file. Then add "hubot-mute" to the list in the external-scripts.json file.

Current Tags

  • 0.0.9                                ...           latest (5 years ago)

9 Versions

  • 0.0.9                                ...           5 years ago
  • 0.0.8                                ...           5 years ago
  • 0.0.7                                ...           5 years ago
  • 0.0.6                                ...           5 years ago
  • 0.0.5                                ...           6 years ago
  • 0.0.4                                ...           6 years ago
  • 0.0.3                                ...           6 years ago
  • 0.0.2                                ...           6 years ago
  • 0.0.1                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 9
Dependencies (1)
Dev Dependencies (4)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |