hubot-refrain
A shared killfile for things Hubot should (not) say.
Last updated 3 years ago by xurizaemon .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install hubot-refrain 
SYNC missed versions from official npm registry.

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)

Current Tags

  • 0.0.5                                ...           latest (3 years ago)

1 Versions

  • 0.0.5                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dependencies (1)
Dev Dependencies (12)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |