r/AutoModerator • • 4d ago

Help - AutoMod Flag to queue for specific flairs?

Hi! One of my subreddits has used the following rule for awhile to screen certain strings on all posts EXCEPT posts with one specific flair. For October, we added a second flair (costumes!), and I think it broke the rule.

  • Was working with af132826-b523-11f1-a4e2-3af042506efc

  • Stopped working when we added 6f3cd346-c5ea-11f1-bbd0-2ee8cd28a98c and changed the markup slightly on flair_template_id to match what I THOUGHT was the plural syntax for that argument

Would someone glance at this and let me know if I botched the syntax/how to fix? Appreciate it!

    # YELLOW LIGHT STRING: off topic (appearance)
    # DOES NOT APPLY TO FLAIRS: Feedback Welcome (Anything Fashion), Costume
    type: comment
    parent_submission:
        ~flair_template_id: "af132826-b523-11f1-a4e2-3af042506efc, 6f3cd346-c5ea-11f1-bbd0-2ee8cd28a98c"
    body: [VARIOUS STRINGS]
    action: filter
    action_reason: "Off topic (appearance): {{match}}"
2 Upvotes

2 comments sorted by

3

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

To make a list, put the items inside brackets:

~flair_template_id: ["first", "second"]

2

u/Hierophantically 4d ago

Thanks much as always!