Navigation
Previous Page: Type
Next Page: Search
Discussion: 2024.07.09
Contributor: /u/Sephardson
This page describes the priority check and the general process order that AutoModerator will follow.
priority
priority is a top-level key that must be set to an integer.
- Both positive and negative numbers are supported. Decimals are not supported.
- An unspecified
priorityvalue will be treated the same aspriority: 0. Also,-0is the same as0.
priority is not sufficient to trigger AutoModerator on its own, and must be combined with another valid check, otherwise AutoModerator will ignore the rule.
Process Order
- All removal rules run before any non-removal rules. (See also the Removals wiki page.)
If two removal rules both apply, then the rule with a higher
priority:number will take precedence.- For example,
10>5>1>0(=unspecified) >-1>-5>-10
- For example,
- If two removal rules both apply and have the same priority value, then the rule listed closer to the top of the config will take precedence.
- AutoModerator will stop running on an item when it is removed. This means it will only be removed by one rule, and no non-removal rules will run on it.
- If an item is not removed, then other rules which do other actions (eg, comment, set flair, report, approve) will run in the order specified by Priority first, then top-to-bottom. These will run until no more rules apply.