/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
I’d like to remove post from anyone that has posted within 24 hours (I want to only allow 1 post every 24 hours) and send them a message telling them why it was removed.
Hi, so I tried to let automoderator to delete any post with account that under 40 karma.
But AM keeps deleteing any comments with low karma even if it was 20 Karma. I want AM to just delete any post with account that are less then 12 days old.. not comments.
So, what I want from the AM TO NOT DELETE any comments no matter how much karma they have. I only want them to delete post that under 40 karma and less then 40 days.
Any help?
Hey All,
I've just had a mad rush of people come into my server and post OnlyFans links and I had to scramble to ban them all.
Is there a option on AutoMod to delete them?
I’ve set the following automod script up on one of my subreddits to try to only allow link posts with specific URLs:
---
### Section - Domain Whitelist
type: link submission
moderators_exempt: false
#moderators should be exempt in production but non-exempt when testing (change the above line to true in prod)
~crosspost_id (regex): ['\w+']
~domain+body: [9to5mac.com,appleinsider.com,tmo.report,apple.com,macrumors.com,engadget.com,techcrunch.com,redd.it,reddit.com, imgur.com, imgur.io]
action: filter
action_reason: "Domain not in whitelist"
message_subject: "Domain not in whitelist"
message: |
Hello {{author}}, your [link submission]({{permalink}}) was removed because it goes to {{domain}}, which is not in our whitelist. If you wish to add the link to our white list, please reach out to our mod team, by sending a mod message.
---
However, it keeps incorrectly flagging image posts as not being on the whitelist. Does anyone know what might be causing this?
I just created a subreddit and I want to change the blue icon. Tapped on to change community icon and I changed it but it doesn’t show up. It is still the blue and white one. Is there another way to change it or will those who visit see it. Please help
I got this piece of code:
type: submission
and would like to comment with a link to a sticky post.
I know this is possible, cause I found this piece of code:
r/SUBREDDIT/about/sticky?num=1
and
r/SUBREDDIT/about/sticky?num=2
but IDK how to implement it. Could you gimme a hand?
Best,
Sky
Please Help!
Too many Subredditors are submitting posts / comments without reading the rules.
It is so horrible to have to manually remove these rule violations over and over.
I need help with an Automod that reminds everyone to read the rules.
Is it possible to do this as they prepare their submission(s) or after it is submitted?
I'm a novice and trying to learn more about this feature to assist with Subreddit moderation duties.
This is what I need it to say:
All responses you will receive are from your fellow Subredditors.
Before contributing a post / comment? Please review the SSDI_SSI Subreddit Rules to ensure you are cognizant of the rules relevant to this Subreddit.
Thank you
Every single time I post a comment, I get a notification that my post in r/tearsofthekingdom has been removed because my account is too young. However, I never even visit that sub Reddit, and certainly never post on it. This issue persists after deleting my old account and after changing the password on this one. Is this a known bug? Has my account been hacked?
Hi.
We run a curated sub. (We typically get on average about 3 posts a day.) We have been adding a sticky comment to every post to immediately notify OP that says "all posts are held for moderator review". We now are switching to a message, to keep the sub cleaner.)
Every post also gets in-sub karma ranking flair assigned to help us spot the newcomers and our best contributors.
We'd like to exempt mod sticky posts from the automod comment or message.
Since moderator exempt is the default why do our sticky posts by a mods trigger an automod curated comment/message? Do we need to add "moderator_exempt: true" to each flair/remove rule?
question is in the title. i'm just wondering if automod can do that.
type: submission
author:
has_verified_email: true
comment: |
Hi, /u/{{author}}!
welcome and thank you for having a verified email text
comment_stickied: true
author:
has_verified_email: false
action: remove
comment: |
Apologies /u/{{Author}}
rejection text
comment_stickied: true
action_reason: "user does not have verified email"
modmail_subject: "Attempted Post: User does Not Have a Verified Email"
modmail: "The above {{kind}} by /u/{{author}} has been removed, due to * No Verified Email *"
I'd like to have a CSS class on a flair for Old Reddit but clear it if you add an emoji to it so the emoji will display. Unfortunately, the CSS class isn't going away, although the emoji is being added and is visible on New Reddit.
I would like to not create new templates for every flair I have without CSS classes if possible...
# Grant jailbreak to user flair
type: comment
body (includes, regex): '!jailbreak (RageBreak)\Z'
author:
~flair_text (includes): [':', '(']
flair_template_id:
- 1a521f02-7373-11e4-951e-12313d15fc2c # iPhone 4, no jailbreak
overwrite_flair: true
set_flair:
text: "{{author_flair_text}} :{{match-2}}:"
template_id: "{{author_flair_template_id}}"
css_class: ""
moderators_exempt: false
priority: -2
comment: "Congrats! You have been granted {{match-2}}."
---
We require user flair for commenting, and I was hoping someone could help me with automod code to automatically assign user flair to the unflaired, without changing the users who have flair.
Thank you in advance :)
Hi sorry if it was a newbie question I am completely new to moderating and like to do the same like this NSFW sub doing but with few extra tweaks.
I want to know how AM extract the title inside [] or {} to hyperlink.
and also help me with Flair
Say if a user post with FlairA I want AM to do something like this domain1.com/username
where username is extract from the title inside [] or {} and with FlairB to domain2.com/username and so on with FlairC etc,.
Thanks in Advance!
I'm trying to create a community for my app by requiring new users to join our subreddit to receive an invitation code for the app.
To do this, I want to make our subreddit private but still accept all users who request access. How can I set this up?
Does anyone know a way of how the Automod can detect if a new post contains '©' in the body and if it does, automatically sticky the post?
We have certain keywords set up so that if they’d typed they need to be approved by moderators before going up. We want all conversations about a certain topic to happen in a megathread.
We have the megathread recurring every week with its own flair. Any code for this?
Below is the config i tested out, and it works to allow posts starting with
This [30] [M4F]
But not this [30/32] [MF4M]
OR [30/32] [MF4MF]
Is there an easy tweak to allow for the couples looking for singles or couples to post?
Thanks for the help! - I haven't attempted to enforce the location yet. That's a problem for tomorrow me, unless someone knows of an easy fix.. :)
---
type: submission
~title (regex): '(?#Age)\[(1[89]|[2-9]\d)\] (?#R4R)\[([MFTA]|NB?)4([MFTA]|NB?)\]'
message: |
Your post was removed because the title must be in this format:
[Age] [R4R] [Location] - Your Title
For example: [32/35][FM4M][Austin, TX] - Professional couple looking for an experienced single guy.
action: remove
action_reason: "Wrong title format"
---
Hi,
I want AM to flag crossposts to my sub that originate from a particular sub. (Crossposts from there have flooded the sub before.)
I have the following config in my AM:
# Filters crossposts from particular subs
type: crosspost submission
crosspost_subreddit:
name: ["XXXXX"]
action: filter
action_reason: Crosspost from {{match-crosspost_subreddit}}, pls review. No more than 1/day
comment: Your {{kind}} has been removed because crossposts from /r/{{match-crosspost_subreddit}} have been too frequent to /r/{{subreddit}} and now require manual approval. Please be patient. Your post will be reviewed in due time.
The filtering works great, but the {{match}} doesn't. I get literally "{{match-crosspost_subreddit}}" as the report reason in my mod queue, and in the comment that AM posts to the crosspost.
Where did I go wrong?
I found this site that converts all unicode characters (which automod cant read) in a text to emojis. useful for copypastas and stuff lol
Im trying to make automod respond to anyone that says "what" with "WHAT???". i also want to make sure it only does this for the word "what" by itself, not including stuff like "somewhat"
moderators_exempt: false
type: comment
body (regex): 'what$'
comment: WHAT???
^this is what i have right now but it doesnt seem to do anything
moderators_exempt: false
type: comment
body (includes-word): ["what"]
comment: WHAT???
^i tried this before too and it didnt work either. anyone know how to do this??
This was what we had so far, and it kicks back any posts. Tried looking around quite a bit, but haven't had any luck. Any help is appreciated!
---
type: submission
~title (starts-with): ["[TAG]"]
action: remove
action_reason: "Not following Submission Guidelines"
message: |
Your post has been removed because it does not start with a # followed by your location.
Please edit your post accordingly and submit again.
moderators_exempt: false
I want to combine two rules I am not sure if auto mod supports (if/else). Please tell me how can i do it.
if
type: submission
url+title+body: ["tickets" , "ticket", "pass", "passes"]
author:
account_age: '< 14 day'
link_karma: '< 100'
comment_karma: '< 100'
satisfy_any_threshold: true
action: remove
comment: |
Hello {{author}},
Your post about reselling tickets (scalping) was removed because it involves a financial transaction. Unfortunately, your account doesn't meet the minimum requirements to post about such transactions.
else
type: submission
priority: 2
url+title+body: ["tickets" , "ticket", "pass", "passes"]
action: filter
comment: |
Hello {{author}},
As your post was about ticket/passes resale (also called scalping ), please copy the below block and fill in details and update them in your post:
Name of event:
Count of tickets being sold:
Category or seating of ticket (front, backstage, last, Auditorium/Hall, seating):
Date & Time:
Venue:
Price per ticket:
Once this info is posted, send a modmail for getting your post approved.
Idk anything about automod coding but in other languages theres stuff that makes it ignore caps. for example since my nickname is Glowoai then this: if lower.nickname == "glowoai": print("hi") would still print "hi" because the use of "lower." made it ignore the capital g. How would I do this with automod? I have a list of words but only want some of them to be like this
I have been through a few different scripts, and for whatever reason (and I'm sure I'm missing something basic), I can't figure out how to use automod to approve my own posts. I like to schedule posts, and I'd like those posts to be auto-approved in case I'm not available to hit the actual button. Thanks in advance!
I have verified that I can create and save AutoMod settings with just the first comment line. However, when I try to add the following check/action it won't save. What am I doing wrong?
#AutoModerator settings
---
#Enforces post title tags denoting location
~title: [‘[AL]’, ‘[AK]’, ‘[AZ]’, ‘[AR]’, ‘[CA]’, ‘[CO]’, ‘[CT]’, ‘[DE]’, ‘[DC]’, ‘[FL]’, ‘[GA]’, ‘[HI]’, ‘[ID]’, ‘[IL]’, ‘[IN]’, ‘[IA]’, ‘[KS]’, ‘[KY]’, ‘[LA]’, ‘[ME]’, ‘[MD]’, ‘[MA]’, ‘[MI]’, ‘[MN]’, ‘[MS]’, ‘[MO]’, ‘[MT]’, ‘[NE]’, ‘[NV]’, ‘[NH]’, ‘[NJ]’, ‘[NM]’, ‘[NY]’, ‘[NC]’, ‘[ND]’, ‘[OH]’, ‘[OK]’, ‘[OR]’, ‘[PA]’, ‘[RI]’, ‘[SC]’, ‘[SD]’, ‘[TN]’, ‘[TX]’, ‘[UT]’, ‘[VT]’, ‘[VA]’, ‘[WA]’, ‘[WV]’, ‘[WI]’, ‘[WY]’, ‘[AS]’, ‘[GU]’, ‘[MP]’, ‘[PR]’, ‘[VI]’, ‘[UM]’, ‘[MH]’, ‘[FM]’, ‘[PW]’, ‘[non-US]’]
action: remove
action_reason: "Post title missing required location tag"
comment: "Comment text."
---
edit: Repeated edits until I eventually got the formatting to display correctly. :/
How do i make a code that removes a post + how to make that automatic message that comes when you make a post?
So “sending you a dm!“ with the exclamation point, should be removed.
1)My sub is for a game that shares links for giving each other energy. That link is on reddit's banned list I believe, (aliexpress), so these comments always get automatically hidden. I encourage qr code image sharing instead, but sometimes not every reads the instructions. I am trying to write it so that auto-mod replies to these comments with the instructions, not remove them. I was using the library to help me write it, however everytime I try to use the "domain" or "url" commands I get an error message. So I'm currently using
type: comment
body (includes): ["http", "https"]
comment: |
But obviously this means auto-mod responds to any and every link so its not ideal.
Is the error message occurring because the domain is on reddit's banned list? I want it to be just for "a.aliexpress .com, aliexpress .com" links
Is there a way to make the automod comment when it spots a specific word with let's say 50% chance ?