hubot-mute

0.0.9 • Public • Published

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.

Readme

Keywords

Package Sidebar

Install

npm i hubot-mute

Weekly Downloads

15

Version

0.0.9

License

MIT

Last publish

Collaborators

  • alexhouse