Overview

Community Filter automates community moderation.

The filter is a list of instructions that runs on every new piece of content and again whenever content is edited.

For example, configure the filter to remove any post where the title contains the word yoda.

More complex rules are also possible: remove a post where the title contains yoda but not lemons, and only if the post creator has less than 350 score.

YAML

The filter is configured using YAML.

It is not directly compatible with other platforms' filters.

Example Configuration

This basic example removes posts and comments (note type is all, not just post or comment) containing bad words: cake or shine.

# Bad Words
priority: -100
type: any
domain+content+title (includes): ['cake', 'shine']
action: remove
action_reason: "Includes inappropriate language

This example demonstrates only basic filter capabilities.

Actions

The action determines what happens when a rule matches.

In the example above, content containing cake or shine is removed.

Other actions include approve and filter.

filter removes content but sends it to the mod queue for review.

Use filter over remove in most cases. Filters should supplement human review, not replace it.

Multiple Rules

Create as many rules as needed.

Each rule must be followed by ---:

# Bad Words
priority: -100
type: any
domain+content+title (includes): ['cake', 'shine']
action: remove
action_reason: "Includes inappropriate language

---

# Good Words
priority: -100
type: any
domain+content+title (includes): ['puppy', 'gold']
action: approve
action_reason: "Includes appropriate language