0.0.3 • Published 7 years ago

hubot-killmesoftly v0.0.3

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

Hubot killfile / spam filter.

A pattern-based community killfile for outgoing Hubot messages. Implements a middleware to intercept messages Hubot is about to post, prevents matched message being output.

Perhaps you'd like to prevent Hubot being trained to swear, or you use [hubot-twitter-mention](https://github.com/vspiewak/hubot-twitter-mention) but you want to filter out some returned Tweets.

Uses robot.brain to persist killfile entries.

Naming

Just Killing Me Softly - Roberta Flack. It felt like a hubot-ish name on a Friday night.

Configuration

All configuration is done using commands.

Commands

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

7 years ago