r/AutoModerator • u/mikeblas • Aug 05 '26
Solved Disjunctive rules?
Hello!
How do I setup disjunctions in rules? I'd like to have an action trigger when a post contains certain text and the author is (not verified or less than some Karma or the account is less than some age).
I don't see a way to write the disjunctive part of the rule. Must I make three rules?
title+body (includes): "my string"
author:
account_age: "< some days"and then also
title+body (includes): "my string"
author:
post_karma: "< my threshold"with more
title+body (includes): "my string"
author:
has_verified_email: false?
Is there at least a way to make the message text and reason common among the rules? Otherwise, I have to copy pasta them and repeat myself, which doesn't seem like it will be fun to maintain.
4
Upvotes
View all comments
Show parent comment
1
u/Sephardson I'm working on the wiki here now! Aug 05 '26 edited Aug 05 '26
let's outline your criteria logically:
If you want
the author is (not verified OR less than some Karma OR the account is less than some age), then that would mean at least one rule should apply in cases 1-7, and no rule should apply in case 8.If you want the rules to NOT apply in cases 4-7, then your logical description would be
the author is (not verified) AND (less than some Karma OR the account is less than some age), which would look different (and simpler) in automoderator.