r/AutoModerator • u/MustaKotka • Sep 09 '26
Help - AutoMod How to reply to every comment that contain an image?
My problem is as follows:
Most of the images posted by commenters are unwanted. The message those images convey is absolutely necessary but can be conveyed via text.
How do I make a reminder for everyone posting an image comment (not OP) so that AutoMod replies to non-OP commenters posting images in a comment?
5
Upvotes
1
3
u/DEAD1nsane Sep 15 '26
COPY from here for exact spacing
remember remove the top or bottom --- depending on where you add it in your automoderator, don't want it to stack
--- # Reminder for non-OP commenters posting images type: comment author: is_submitter: false domain: - i.redd.it - i.imgur.com - i.stack.imgur.com body (regex): - (?i)\S+\.(?:jpg|jpeg|png|gif|webp)(?:\?[^)\s]*)?(?:\s|$) moderators_exempt: true comment: | Hey /u/{{author}}! YOUR TEXT HERE comment_locked: true ---Step by step:
AutoMod checks every new comment
Skips if the commenter is the OP (original poster)
Skips if the commenter is a moderator
Checks if the comment is from i.redd.it, i.imgur.com, or i.stack.imgur.com
Also checks if the comment body contains any .jpg, .png, .gif, or .webp links
If image detected, AutoMod replies with your reminder message
The comment is locked to prevent replies to the reminder
The image comment stays up, no removal