Skip to content

GrantStreetGroup/hubot-mute

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages

  • CoffeeScript 92.0%
  • Shell 8.0%