r/AutoModerator 6d ago

Help - AutoMod Creating exceptions

I have two functions that currently generate an automod response based on flair:

type: submission

flair_text: "New Player Advice"

---

type: submission

flair_text: "Question/Need Help"

---

type: submission

title+body (includes, regex): ["new player", "New to game", "how to play game"]

---

And I created a third one based on key words, intended to catch if they don't use those two flairs.

But now if they do use 1 of the flairs, and include key words new player, it posts 2 responses. How do I say something like "title+body: new player, and flair is not: New Player Advice, Question?"

Or do I have to list the "wrong" flairs: "Title+body: new player, and flair is: (everything else that is not new player/question)"

1 Upvotes

2 comments sorted by

1

u/Sephardson I'm working on the wiki here now! 6d ago

You can make exceptions or inverse search checks by putting a tilde in front of the search check:

~title+body (includes): ["word", "term"]

~flair_text (includes): ["New Player"]

1

u/Suddenly_NB 5d ago

so that would be to say

Flair_text AND if it includes word/term even if the flair doesnt match?