Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hubot-refrain

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hubot-refrain

A shared killfile for things Hubot should (not) say.

  • 0.0.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Hubot killfile / spam filter.

A pattern-based community killfile for outgoing Hubot messages. Implements a middleware to intercept messages Hubot is about to post, refrains from outputting matched messages.

Perhaps you'd like to prevent Hubot being trained to swear, or you use hubot-twitter-mention but you want to filter out some returned Tweets.

Uses robot.brain to persist killfile entries.

Configuration

All configuration is done using commands as below.

Commands

hubot refrain (on|off) - Activate/deactivate refrain filter.
hubot refrain show - Print the list of patterns to refrain from saying.
hubot refrain add <pattern> - Add refrain filter entry
hubot refrain remove <N> - Delete refrain filter entry (by index)

Keywords

FAQs

Package last updated on 11 Mar 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc