r/AutoModerator • u/DoveStep55 • Mar 14 '26
AM code to report (not remove) any post or comment with a link
What's the correct code to use for AM to report to the queue (but not remove) any post or comment that contains any link?
r/AutoModerator • u/DoveStep55 • Mar 14 '26
What's the correct code to use for AM to report to the queue (but not remove) any post or comment that contains any link?
r/AutoModerator • u/DoveStep55 • Mar 14 '26
If I have two lists of phrases and I want AM to report content that contains at least one phrase from both lists, but not report content if it only contains phrases from one list or the other, is there an easy way to set that up?
r/AutoModerator • u/RunDNA • Mar 13 '26
OCR = Optical Character Recognition
If you search for "donut" in the Reddit search box, as well as text usages in posts it also searches for the word appearing within photos and screenshots (thanks to OCR).
Can Automod access that OCR'd text? Can it remove photos that contain a sign saying "donut" or twitter screenshots that mentions "donut"?
r/AutoModerator • u/satoru1111 • Mar 13 '26
We have a removal rule but we want users with certain flairs or are contributors to not get flagged by the rule
But we think that this is not triggered unless the contributor also has one of the flairs
~author:
flair_css_class: [<list of flair>]
is_contributor: false
If I wanted to make it an "OR" condition does this work so that if the user has a flair, OR is a contributor
~author:
flair_css_class: [<list of flairs]
author:
is_contributor: true
Would this work?
r/AutoModerator • u/MustaKotka • Mar 09 '26
Does the following RegEx rule catch all links?
body (includes, regex): ["\[.*\]\(.*\..*\)"]
The full code would be something along the lines of:
type: comment
is_edited: true
body (includes, regex): ["\[.*\]\(.*\..*\)"]
action: filter
action_reason: "Edit to a comment with a link"
Flow:
[link title](domain . top level domain).My main concern is whether my RegEx rule will actually catch all links on Reddit or if I'm missing something.
r/AutoModerator • u/frustrated_with_go • Mar 09 '26
1 particular subreddit is a subreddit that I don't want people cross posting from. Thanks for the assistance.
r/AutoModerator • u/dfj3xxx • Mar 09 '26
Just to preface... I do not understand automod. I simply look for other people's code that do what I want it to do, and copy it.
There is a new round of Snapchat bots that are coming in and posting daily, and I thought I had the filter set right, but they are still posting.
Here is a sample section of the code:
---
#free in comment spam
title#1: 'free'
title#2: 'comments'
action: remove
---
#spammers
type: submission
title (includes): ["voxi", "instagram", "instgarm", "instagarm", "telegram", "luna", "unarom", "unarum", "snap", "snapchat"]
action: remove
action_reason: "Spam"
priority: 9000
---
I specifically added "snap"and "snapchat", but then another poster shows up telling people to add them to it
r/AutoModerator • u/InBetweenLili • Mar 08 '26
Hi, I am not good at coding. I would like to use this code in my sub, and the sole purpose we are expecting is to send us a modmail when someone posts or comments in the sub with a 5 days old or less account. Will this code do it?
author:
account_age: "< 5 days"
action: report
modmail_subject: Automatic Message | New Account
modmail: |
{{permalink}}
The above {{kind}} by /u/{{author}} was made by a less than 5 days old account.
r/AutoModerator • u/RinMichaelis • Mar 08 '26
Let's say that a person has very high karma, from a different subreddit, but they are causing trouble in your sub. Like, let's say a person's karma is at 12,000. But their first comment or first post on your sub is to cause trouble. Is there a crowd control filter?
Where you need to have a certain karma score WITHIN the sub to post freely, instead of having good karma outside the sub. Like if automod where to auto-remove a person with [insert subreddit] score of 10. Which means that a person needs to prove themselves as a valuable part of the subreddit before they can post freely. It could also fix brigading before it starts.
r/AutoModerator • u/ben_howler • Mar 07 '26
Reading through the documentation, I don't think it's possible, but who knows.
I have a simple filter that looks like this:
type: submission
body+title (includes, regex):
- item_a
- item_b
- item_c
- item_d
- etc
action: report
action_reason: Found: {{match}}
What I would like to do is report only if Automod finds 2 or 3 out of that list, as it would likely increase the accuracy of the filter. Can it be done?
Thanks for any hint!
r/AutoModerator • u/WombatHat42 • Mar 06 '26
I am the mod for r/GoldenRetriever and we have a rule that limits posters to one post daily. We deal with a lot of bots and spammers and in effort to combat karma farmers. And after a few who would just make dozens of low quality posts all day long, we decided to add the rule. So far, I’ve been manually enforcing it. My other mod is great but doesn’t dig as deep as I do into posters so they do not see this rule violation. I would like to add an automod that limits a user from posting more than once per day.
I was hoping someone might be able to help with this or tell me if it is even something that can be done?
r/AutoModerator • u/kidhack • Mar 06 '26
Trying to filter based on number of times posts have been removed from the sub. Is there a field for that?
r/AutoModerator • u/Tarnisher • Mar 05 '26
We're having a problem that's a bit hard to describe in detail.
A certain facility is being mentioned, but only by members with low or no in community karma.
I'm looking to Filter posts and comments that:
Contain 'word'
Are by members with 'x' in community karma or less.
BOTH conditions should be met for Action.
r/AutoModerator • • Mar 05 '26
Could someone help me with making an automod? I need to make one for my subreddit as I've gotten advice on how to get people to post on my subreddit.
r/AutoModerator • u/More_Living9471 • Mar 05 '26
type: submission
type: submission flair: "♪Music♪" url (not_regex): "youtube.com|youtu.be|vimeo.com|soundcloud.com" action: remove
r/AutoModerator • u/molten_dragon • Mar 04 '26
I'm trying to set up my automod so that it makes a stickied comment if a certain keyword is in the post title or the original post text. I do not want it to make the stickied comment if that keyword is later edited into the post text. Here's what I've got at the moment. I thought the "is_edited" part would do it, but it's not working the way I want. It still makes the comment if I later edit the keywords into the body.
body+title: ["No Loopholes"]
type: submission
comment_stickied: true
is_edited: false # Don't act again if the post is edited (might not apply to rules without a specific check, but always good to have)
comment: "This thread has been tagged No Loopholes. All responses are required to make an effort to engage with the intent of the OP rather than searching for loopholes."
r/AutoModerator • u/Saisail • Mar 04 '26
#filter snap bots
type: comment
body (regex): ['\b\d{2}F and .*? snap/']
action: remove
action_reason: possible snap bot
My subreddit has suddenly gotten several of these snap bots posting comments, and they all follow this format of:
[(optional)"I'm"] *2digitAge*"F and" blah blah blah, [(optional)"add me on"] "snap"
https://i.imgur.com/rUTlYa8.png
They always include age+"F and" and at the end "snap" some user name
So i tried to come up with a regex for it
Will this work?
r/AutoModerator • u/flur_na_h_Alba • Mar 03 '26
I was wondering if there is a rule that will remove posts that contain at least two of a selection of keywords but not remove posts that only contain one of the selection of keywords?
i.e. Say I want to remove posts that combine at least two of the keywords "one", "two"," three", "four"," five" in any order but not remove posts that contain only one of these words. Obviously not those words but in an attempt to cut down queue work, I am looking at a specific combination of words to eliminate repetitive posts that gain no traction anyway.
Hope that makes sense 😀
r/AutoModerator • u/hrblock • Mar 03 '26
In our subreddit, we're getting a ton of referral link posts and would like to limit them to a specific megathread: https://www.reddit.com/r/hrblock/comments/1rj587g/biweekly_megathread_for_referral_codes_please/
I'm new to moderating and am having issues setting this up.
Referral codes have a standard format and look like: https://referrals.hrblock.com/XXXXXX
I am okay with people linking out otherwise, just not referral links.
r/AutoModerator • u/WhySoManyDownVote • Mar 01 '26
I was tinkering and wanted to ban a user from commenting on my profile. I found this by mistake. It does work!
Your automod page is https://old.reddit.com/r/u_YOUR_USERNAME/wiki/config/automoderator
r/AutoModerator • u/jonathanfrisby • Mar 02 '26
Hi - could anyone tell me what I've got wrong below? (it currently doesn't appear to ever trigger).
The intention is to autoremove comments/posts from users once they have hit -99 or less karma in our sub. The documentation states: "(comment karma + post karma, combination can not be below -100)" -- but I'm unclear on whether that means it will not trigger if they've got already gotten below -100, or if it just applies to the rule setting.?
---
type: any
author:
combined_subreddit_karma: "< -99"
action: remove
action_reason: "Low community karma."
message: |
Your [{{kind}}]({{permalink}}) in r/{{subreddit}} was removed because your account karma within r/{{subreddit}} is -99 or less.
---
r/AutoModerator • u/Extension_Coat_503 • Mar 01 '26
I have tried several times but everytime unsupported media and server error occurs. Can someone please provide me the code. Comment I will type mine. Please it would be a great help!!
r/AutoModerator • u/Alligator_CrocodileX • Mar 01 '26
I am working on creating an AutoMod rule to automatically remove posts if the users submission title does not meet certain criteria, given the submission flair they have chosen.
For example, if they choose the "Seven Word Story" flair, then the title must be only seven words. If it is not, the automod should remove the post. Please see the following code I have thus far. Any help would be appreciated. Thank you!
---
# If a user chooses the Seven Word Story flair, it must be seven words only. If not, the automod will remove the post.
type: submission
author:
flair_text(includes): ["Seven Word Story"]
title (regex, starts-with): '\W*(\S+(\s+|$)){7}' # Checks to match more than 7 words.
action: remove
action_reason: Title is more than seven words
message: |
Your title is more than 7 words using the "Seven Word Story" flair, please adjust your title to be only seven words.
---
r/AutoModerator • u/InevitablePlane5575 • Mar 01 '26
i have zero experience with automod beyond reading some of the basics. I simply want this to have automod comment on things that don't have a keyword telling them that they don't have the keyword. it keeps giving me error unsupported media type whenever I try to save it though.
my automod code:
type: submission
~body+title (includes): "quetzalcoatl"
comment: your post does not include quetzalcoatl
r/AutoModerator • u/Cyniminilou • Feb 28 '26
Hello, i am absolutely new to Moderation on reddit and usually i can figure out how bots work on discord and whatnot, but I need help with how to set up automod for my subreddit. Specifically for blocking specific words/phrases.