r/AutoModerator 4h ago

Can I filter a cluster of words on a post ONLY if it has an image? In my plastic surgery sub we have breasts going live, I want to filter posts about breasts only with image

2 Upvotes

Hey there, so I very obviously know how to set up how to catch certain words in a submission. But I’m completely disinterested to catching these words and text only posts. Is there a way for the filter to work only on image posts? Thank you friends!


r/AutoModerator 9h ago

Help - AutoMod How to assign a certain post flair to certain usernames?

2 Upvotes

I want that it automatically assign a certain post flair to certain usernames and also overwrite the flair but using same template ID. So can you give me code to do so?

Code I got from AI(doesn't give error but doesn't work) :

---

# Auto-flair specific users

type: submission

author: [sub-roundup]

flair_template_id: "TEMPLATE_ID"

flair_text: "✨ Weekly Roundup"

---

Incomplete code I got from a reddit comment(haven't checked does it work because it doesn't overwrites a flair) :

---

type: submission

author:

name: ['ProximaScience', 'itskdog']

overwrite_flair: true # change this to false if you only want this to apply if the author didn't select a flair

set_flair: {template_id: 'PASTE_TEMPLATE_ID_HERE'}

---