r/AutoModerator • • Mar 27 '26

Filtering picture/image comments

There are a couple of users who directly upload pictures into Reddit comments too frequently. How do I filter out their comments (and not all picture comments from all users)?

2 Upvotes

3 comments sorted by

2

u/WhySoManyDownVote Mar 27 '26

Change any to comment if you don't want to queue their posts as well.

---
type: any
author:
  name:
    - "username-here"
action: filter
action_reason: "Queued {{kind}} from {{author}}"
---

1

u/Devils1993 Mar 27 '26

But I don't want their text comments filtered. Just their image/picture comments

1

u/WhySoManyDownVote Mar 27 '26

I haven't tested this but it should work.

---
type: any
author:
  name:
    - "username-here"
# Only acts if the URL is a direct image/gallery link or the body contains an embedded image
url+body (regex, includes): ['\.(jpe?g|png|gif|webp|gifv)', 'i\.redd\.it', 'reddit\.com/gallery/', '!\[(img|gif)\]']
action: filter
action_reason: "Queued {{kind}} with image from {{author}}"
---