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).
Usage
hubot mute list
- List all individually muted channelshubot global mute
- Globally mute all channelshubot global unmute
- Globally unmute all channels (but keep individually muted)hubot mute {channel}
- Mute specific channelhubot unmute {channel}
- Unmute specific channelhubot 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.