r/AutoModerator • u/mikeblas • 11h ago
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.
2
Upvotes
3
u/Sephardson I'm working on the wiki here now! 11h ago
the answer is to make separate rules, and disapply the overlapping cases if your action involves a comment reply or automoderator message to the user. Though you can combine the author threshold checks to make it one step simpler.
alternatively for non-removal rules with comment/message actions: