/r/AutoModerator
Important announcements, helpful tips, and discussion regarding AutoModerator.
What is AutoModerator?
AutoModerator is a highly customizable moderation bot. It monitors new and edited submissions and comments in your subreddit and acts on them as needed.
What can AutoModerator do?
AutoModerator is commonly used to:
PLEASE READ
AutoModerator does not remove or report content by moderators by default, so test your conditions with a non-moderator account or add "moderators_exempt: false"
Get Started
/r/AutoModerator
Have tried, but failed. Tried asking in this sub before, but need more help.
We really need an automod to remove comments from users with flairs "parent" or none when they comment on posts flaired for ECE Professionals Only. Could anyone help??
Example https://www.reddit.com/r/ECEProfessionals/comments/1h50w6t/parents_showing_up_to_breastfeed/
I removed two comments in my subreddit for the same reason and a few minutes later the automod comments showed up in the queue and were just marked as "removed"
No reports showing, nothing in the subs mod log, nothing. I have absolutely no idea what is going on with it. Its literally for a rule that is about not discussing other subreddits (because drama)
I don't understand why it wouldn't at least show up in the mod log if Reddit did the thing where it randomly decides something is bad for some reason
I made a small private subreddit for myself and close co-workers. We will only be like 10 or less people. Right now I'm trying to make the setup of the subreddit work.
The issue is that when I make any post in the subreddit, it gets automatically deleted.
I turned off all filtering, there is no automod, I added myself as a approved user, I approved my posts.
The subreddit still automatically deletes my posts there.
I havent changed anything in default automod.
Why are my posts deleted in my own subreddit automatically?
Can I use automod to stop this and approve all posts? I don't see a single reason why I would want our own subreddit to delete mine or any other co-workers posts.
What should I change in automod?
Bya y'all!
The communities I run aren't REQUIRED to ask questions in their posts, but when they do- it's required that they state the question in the TITLE. Yet we still get a lot of "I have a question to ask." titles still.
Is there a way to have the automoderator check to see if the same photo is submitted twice by a Redditor?
If so can it then be flagged and alert the moderators to take some action?
# Rule 1: Sticky comment for specific weather-related submissions
type: submission
comment_stickied: true
title+body (regex): ['(the weather during|climate now|weather now|weather is)']
action: remove
comment: |
Please use the following link for all queries related to weather:
- [December Weather Megathread](https://www.reddit.com/r/pondicherry/comments/1gr972k/megathread\_visiting\_during\_december\_and\_new\_years/)
---
# Rule 2: Sticky comment for general submissions
type: submission
comment_stickied: true
comment: |
For more info about food, travel, accommodation, and meeting new people:
- [Wiki](https://www.reddit.com/r/pondicherry/wiki/index/)
- [Pondicherry Discord Server](https://discord.gg/XxvbbjEQDw)
- [pondy.life](https://www.pondy.life/) by u/theyashbhardwaj
---
Hey, myself & the team over on the subreddit we moderate are trying to figure out how to make the title formatted in a certain way and prevent incorretly formated posts from posting.
I made this using ChatGPT but it doesnt work:
---
title: "Enforce specific title format"
type: submission
action: remove
title: "^(\\d{1,3})\\s*\\[(F4(?:MF|FF|MM|MF)|FM4(?:F|M)|MF4(?:F|M))\\]\\s*#\\w+(?:\\s+.+)?$"
comment: |
Your post title does not follow the required format. Please use the correct format:
`<Age> [<Gender and Target>] #<Location>, <Title>`
Allowed formats include:
- `F4MF`, `F4FF`, `F4MM`, `FM4F`, `FM4M`, `MF4F`, `MF4M`, `FF4M`, `FF4F`
Example: `25 [F4MF] #California, Looking for a new friends!`
---
What I am after:
Correct format of a posts title: Age [Gender and Target] #Location, Title
Example title:
25 [F4MF] #California, Looking for a new friends!
Hey, myself & the team over on the subreddit we moderate are trying to figure out how to make it so that if a post is out under 1 of our flairs, the title must be formatted in a certain way.
Script:
type: submission
~body+title (includes): ['word1', 'word2']
action: remove
message: |
Words to the person. There must be
four spaces at the beginning of each line in this message
---
type: submission
body+title (includes): ['[ISO]', '[TR]']
action: approve
What we're after:
Example title: [ISO] Example text here, anything to be approved [TR] Example text here, anything to be approved
ISO & TR are abbreviations for In Search Of & Trading if it's relevant.
We've thought about taking this line from other scripts of ours (although we're unsure if it'd work/where to place it):
flair_text (includes-word): ["Our Selected Flair Name Here"]
Any advice is greatly appreciated! The script is the closest we can find to what we're after, although we're not sure if it'd work (the part about removing certain words isn't what we're after & we're unsure what to do with that part of the script)
Thank you!
Hola, quiero publicar en mi perfil, pero sin tener que darle a aprobar aposta a cada publicación mía, sino que quiero que se publiquen automáticamente. ¿Cómo puedo hacerlo? Es decir, ¿cómo puedo publicar en mi perfil sin pasar por el filtro de moderación? Gracias.
I can no longer access Automod, wiki pages in the redesign on Brave mobile. It seems to be accessable in old.reddit.com and it is insane that it's no longer possible now.
Running into a weird situation with automod and I'm hoping maybe somebody can figure out what's happening.
A sub I help mod is trying to set up a new word filter in automod. It's just a copy and paste of other automod filtering we already use, with the actual terms being filtered changed. When we implemented it though, it's not actually filtering posts.
I took the code to a private sub I mod and did some testing, using the same code as well as verified code from other subs I mod, and nothing is working. With it happening across multiple subs the same way, it makes me thing Reddit issue.
Any audomod code that tries to filter/action is not working. Code that doesn't filter works perfect fine. For example, I have some code to comment a sticky with info but not filter the submission, and that works fine. As soon as I change it to filter the submission, it all stops working.
Here's a link to an image of the automod code we're using, which has been successfully used for years - https://imgur.com/a/0dPUXFL
Any ideas?
Hello everyone,
I’m looking for assistance with setting up a system for r/PrejacLevelTraining that can analyze the content of images in submissions and automatically assign the correct flair based on what’s in the picture.
Any help, advice, or examples of similar projects would be greatly appreciated. Thank you!
We are having a lot of spam from multiple accounts posting a similar phrase banned by our community rules.
Can someone help with an automod rule to ban comments that would match all of these samples. Wording is changed slightly due to the community I mod.
Phrase: red sky
Look at the red sky.
The Red Sky is beautiful.
The RED SKY is uncommon.
The Red .. Sky is my favorite. (any number of number letter/numbers between words.
So match the characters in any combination of upper and lower case letters with any combination of non-letters and non-numbers between.
As a bonus if you can provide a variant that matches any combination of characters between the two words. Yes I know it is dangerous but we might need to hit that extreme.
When people write a new post on my subreddit, there's an auto-moderator comment that comes right after their post. I'd like to be able to not have this show up in my mod queue when this is removed automatically, along with the post the person made because they had low karma, because it's clogging up 50% of my mod queue with things that are not really relevant.
How do I still filter the person's post without filtering the comment made by auto-moderator?
#
title: ["Looking for developer", "Looking for programmer", "Hire", "Hiring"]
action: remove
---
# Remove user posts if less than 10 karma, please don't change this it is needed to remove spam
type: submission
author:
link_karma: < 10
action: filter
comment: |
Your submission has been removed for having a negative karma.
report_reason: |
Low Karma
---
# Sticky comment on submissions
type: submission
comment: |
Make sure to read the rules in the pinned thread.
---
keep getting a message saying that i need to establish my account?? anyone know what to do
Hello.
I found Automod, but I am not able to set it up to write a text in each post. I am on desktop.
Any help much appreciated, needless to say that I am not a tech expert.
# Rule 1: Minimum Account Age and Karma Requirement for Submissions
type: submission
author:
account_age: "15 days"
combined_karma: 6
action: remove
comment: |
Your submission has been removed because your account does not meet the minimum participation criteria:
- **Account Age:** 15 days minimum
- **Combined Karma (link and comment):** 6 minimum
Please engage more on Reddit and try again later. We look forward to your contributions once you've met the requirements!
---
# Rule 2: Minimum Account Age and Karma Requirement for Comments
type: comment
author:
account_age: "15 days"
combined_karma: 6
action: remove
comment: |
Your comment has been removed because your account does not meet the minimum participation criteria:
- **Account Age:** 15 days minimum
- **Combined Karma (link and comment):** 6 minimum
Please engage more on Reddit and try again later. We look forward to your contributions once you've met the requirements!
---
# Rule 3: Prohibit the Sale, Trade, or Giveaway of Illegal Items
type: submission
body (regex): "(active spores|psilocybin|psilocin|magic mushrooms)"
action: remove
comment: |
Your post has been removed because it mentions items that are prohibited in this subreddit. This includes:
- Active spores
- Psilocybin-containing items
- Other illegal substances
Please ensure all trades, sales, or giveaways comply with local laws and subreddit rules.
---
# Rule 4: Ensure Only Permitted Items Are Sold, Traded, or Given Away
type: submission
title (regex): "(grain spawn|substrate|liquid culture|non-active spores|petri dishes|agar|lion's mane|reishi|cordyceps)"
body (regex, does not include): "(active spores|illegal)"
action: approve
---
# Rule 5: Flag Posts Missing Item Details for Clarification
type: submission
title (regex, does not include): "(grain spawn|substrate|liquid culture|non-active spores|petri dishes|agar|lion's mane|reishi|cordyceps)"
action: remove
comment: |
Your post has been removed because it doesn't clearly mention the items for trade, sale, or giveaway.
Please revise your post to include details about the items you're offering or looking for. Refer to the subreddit's rules for allowed items.
---
# Rule 6: Prohibit Self-Promotion or Spam
type: comment+submission
body (regex): "(buy from my store|visit my website|exclusive discounts here)"
action: remove
comment: |
Your post or comment has been removed because it appears to be self-promotion or spam. Self-promotion is not allowed unless explicitly permitted by the moderators.
Please contact the moderators if you believe this is an error.
---
# Rule 7: Remind Users of Prohibited Items
type: comment
body (regex): "(can I trade active spores|any psilocybin here|illegal items allowed?)"
action: remove
comment: |
Your comment has been removed because it inquires about items that are prohibited in this subreddit.
Reminder: Selling, trading, or giving away **active spores or any illegal items** is strictly forbidden and will result in a ban. Please review the rules before posting further.
---
# Rule 8: Enforce Flair Requirement for Submissions
type: submission
link_flair_text (regex, does not match): ".+"
action: remove
comment: |
Your post has been removed because it does not have the required flair. Please add the appropriate flair to your post and resubmit.
---
# Rule 9: Ban Users for Repeated Violations
type: submission+comment
author:
submissions: 3 (removed, within 7 days)
comments: 5 (removed, within 7 days)
action: ban
comment: |
You have been banned from subreddit for repeated violations of subreddit rules. If you believe this is an error, please contact the moderators for clarification.
Hey, sorry to post this again but I keep trying to make an automod that removes comments and posts from users that don't have enough karma on our subreddit. For some reason it just isn't working. I'm still able to comment on an alt account with 1 karma and nothing gets removed. What is going on?
even if i change "combined_subreddit_karma: '< 100'" to comment_subreddit_karma: '< 5'" It does not work
---
type: any
author:
account_age: '< 10'
combined_subreddit_karma: '< 100'
satisfy_any_threshold: false
action: remove
comment: Your post/comment was removed due to low karma.
---
When people submit links to our sub, I want automod to add ?affiliate=off to the end of the link. Can this be done?
---
# "!lock" command for OP
type: comment
author:
is_submitter: true
body: "!lock"
parent_submission:
set_locked: true
---
#Auto comment by automod
type: submission
Moderators_exempt: true
comment_stickied: true
comment: |
- This post has been locked.
---
# Moderator override to allow moderators to use the "!lock" command
type: comment
author:
is_moderator: true
body: "!lock"
parent_submission:
set_locked: true
---
# "!unlock" command for OP
type: comment
author:
is_submitter: true
body: "!unlock"
parent_submission:
set_locked: false
---
#Auto comment by automod
type: submission
Moderators_exempt: false
comment_stickied: true
comment: |
- This post has been unlocked.
---
# Moderator override to allow moderators to use the "!unlock" command
type: comment
author:
is_moderator: true
body: "!unlock"
parent_submission:
set_locked: false
---
is there anyway to set it so that OP doesn't get locked out of their own post after doing !lock
command? so they can run !unlock
if desired.
Is this possible? I would like some code to be automatically removed without having it appear in the queue.
For example, if I wanted to remove any post that has the word "image" but ignore the titles with "image unrelated" as long as the image is only used in the phrase.
I have posted something and AutoMod has commented in it that the “thread or comment has been removed due to the submitter having lower than 10 karma to post on the subreddit” or smth like that.
Does that mean that the post was deleted?
title
I want a reply for automatically for certain questions.
Hi,
I need a script to prevent users with a specific flair "Layperson" from submitting top level comments on posts flaired "Flaired users only".
Can someone please help with this ? Thank you so much !
a subreddit that I moderate has a problem talking about prices which is strictly forbidden. of course I know there's gonna be ways users will work around automod... but I want it to work the best of it's ability for this!
https://www.reddit.com/r/AutoModerator/s/tP7CYJaM2r this is the closest post I was able to find for what I'm looking for I think? Except I believe that this is only for prices $30 or less per post context.
this is also what I have right now, but I don't believe it would work nearly as well as one similar to this link.
(PS I know that's not formatted correctly. I am just don't feel like going in adding the indents for an example)
I've searched all the wikis and stuff, and I can't find anything on it. Grrrr!
I run a super small (Like 10 member) subreddit called r/ProjectHotel Most of the time i forget to check my approval and find two are three posts that are 14 days old i havent approved. I dont have a lot of friends or mutals to help mod this place. So im wondering if there is a way to automod this?
Take your basic Automod that triggers when you say that word in a post/comment
body+title: “test” comment: “test”
And now have that automod only work if a certain flair is being used
I have a subreddit that needs archiving before I purge the old posts.
My current script.
type: submission
body#length (regex, full-text): '.{,10}'
moderators_exempt: false
action_reason: |
Your body is too shorter than 10 characters. Please also describe what you're post is about, or it will be removed by the mod team, at a later date!
action: remove
comment: "Your body is too short"
However, I seen posts in my community that have a great long title, and I'm fine if they leave their body blank.
So, is it possible to add the length of the title & body together, and if the total combo is below 10 characters, then remove it.