r/AutoModerator • u/_SerialDesignationZ_ • 7d ago
Trying to make it remove any post/comment without a flair
Instead it just removes literally everything
moderators_exempt: false
author:
~flair_text: "-+"
action: remove
comment:
Your submission has been automatically removed because you are not verified. To become verified, read and follow Rule 1. It's that simple.
comment_stickied: true
r/AutoModerator • u/Cring3_Crimson • 7d ago
Help I want to remove as spam every post that the bot-sleuth-bot says have 0.6+ sus quote (it works) exept if the user is approved (it doesn't work)
```
type: comment author: name: ['bot-sleuth-bot'] body (includes, regex): ['Suspicion Quotient: 0.6'] # if say 'Suspicion Quotient: 0.6' comment: "bot" parent_submission: #after adding those 2 lines it doesn't work author: is_contributor: false
action: spam # remove as spam
more code
```
r/AutoModerator • u/SoggyMinimum8386 • 7d ago
How to Get AutoMod to Remove its Pinned Comment After a Certain Action Has Been Made.
Hi there! I'm currently in the process of getting automod to make a pinned comment whenever someone makes a post. No problem. The comment will mainly be a reminder to read the rules and pinned posts.
The problem I'm running into is how to get automod to delete its comment afterwards. I was thinking that a downvote from the poster could delete it, but I read that automod doesn't read downvotes. Then I thought that maybe someone replying with a specific word or phrase would delete the pinned comment, but I'm unsure on how to do that.
Basically, I want automod to make a pinned comment and then have it get deleted by OP by them downvoting, commenting, or something else to show that they read the rules and pinned posts. Is that possible? Thanks.
r/AutoModerator • u/The_Deep_Dark_Abyss • 7d ago
Help Setting a specific flair when a video and/or image is uploaded to a post.
Hi there,
Is it possible to set a flair to a post that uploads a image and/or video automatically with an automod code. As in, it overwrites whatever flair they use to one titled "image" or "video".
Thanks
r/AutoModerator • u/ryliepetos • 7d ago
Server error when trying to make auto mod
I want it to automatically change a users flair when they get karma, here's the code.
type: comment author_karma: minimum: 0 maximum: 20 set_flair: text: "Rookie" css_class: "rookie"
type: comment author_karma: minimum: 20 maximum: 50 set_flair: text: "Junior Investigator" css_class: "Junior"
type: comment author_karma: minimum: 50 maximum: 200 set_flair: text: "Senior Investigator" css_class: "Senior"
type: comment author_karma: minimum: 200 maximum: set_flair: text: "Master Sleuth" css_class: "Master"
Does the code have any problems?
r/AutoModerator • u/SuperSecretModerator • 7d ago
Can someone write me an automod to require a video or link to a video to be posted.
My subreddit will be videos only so i'd like it if we can removed text only and picture submissions as a whole. The sub will allow direct video uploads as well as links to sources such as Instagram, youtube, and tiktok.
r/AutoModerator • u/zatilyx-_- • 8d ago
Help Need help with this code not working
I have no idea if this code is even correct, but it just says "Unsupported Media Type" when trying to make it in automoderator.
---
type: submission
flair_text: "Hardware"
action: comment
comment: |
Thank you for posting your hardware-related issue!
To help us assist you better, please include the following details:
- **PC Specs** (CPU, GPU, RAM, motherboard, power supply, etc.)
- **When the issue started** (e.g., after a specific update or hardware change).
- **What you’ve already tried** to resolve the issue (e.g., reseating components, driver updates).
The more information you provide, the faster we can help!
For faster responses, make sure to check out our discord!
---
type: submission
flair_text: "Software"
action: comment
comment: |
Thank you for posting your software-related issue!
To assist you better, please share the following details:
- **The software or app name and version** you’re using.
- **Your operating system** (Windows, macOS, Linux, etc.) and version.
- **When the issue started** and if it was after an update or installation.
- **Error messages or codes** (if any).
- **What you’ve already tried** (e.g., reinstalling, clearing cache).
Providing these details will help us pinpoint the issue faster!
For faster responses, make sure to check out our discord!
---
type: submission
flair_text: "Malware + Virus"
action: comment
comment: |
Thank you for posting your concern about malware or viruses!
To help you resolve this issue, please share the following:
- **How you suspect your system was infected** (e.g., downloading a suspicious file or visiting an unknown website).
- **What symptoms you’re experiencing** (e.g., pop-ups, slow performance, unusual behavior).
- **Any antivirus or antimalware tools you’ve used** and their results.
- **Your operating system** and version.
The more details you provide, the easier it is for us to help you clean your system!
For faster responses, make sure to check out our discord!
---
type: submission
flair_text: "Network"
action: comment
comment: |
Thank you for posting your network-related issue!
To assist you effectively, please include the following details:
- **Your network setup** (e.g., router model, wired or wireless connection).
- **The type of issue** (e.g., slow speed, no connection, intermittent disconnects).
- **When the issue started** and if it was after a specific event (e.g., firmware update).
- **Troubleshooting steps you’ve already taken** (e.g., rebooting, resetting the router, checking cables).
- **ISP details** (if relevant).
With this information, we can better diagnose and recommend solutions!
For faster responses, make sure to check out our discord!
r/AutoModerator • u/ColdStoneCreamAustin • 8d ago
Help Remove comments containing a 6 character, uppercase, alphanumeric string? With a catch..
Maybe a weird request, but I'm looking for a way to remove/filter any comment that contains a 6 character, uppercase, alphanumeric string. For instance..
ABC123
A1B2C3
123ABC
ABCDEF
123456
and so on.. UNLESS that comment is posted in a specific thread.
For context, I have a pinned megathread for users to share their referral codes, but I'd like these to be removed if posted anywhere else within the subreddit.
Is this even feasible? I understand the potential for false positives.
r/AutoModerator • u/zatilyx-_- • 8d ago
Help How do I make that automated message that gets sent on post creation?
I've been looking around for a bit but I can't seem to find any relevant info on how to do it. Can anyone direct me?
r/AutoModerator • u/Rostingu2 • 8d ago
Why does automod think some animals have black squares?
title+body (regex): ['U00002B1B','U000025FE','U000025FC','U000023F9','U000025A0','U00002BC0']
Sometimes this is triggered by 🐈⬛ and 🐦⬛. But for some reason even when I have it set to not ignore mods I cant get it to trigger. Is it a platform thing like it treats the raven as a bird emoji then a black square?
r/AutoModerator • u/itsastonka • 9d ago
Please help me to create a minimum character limit in body of posts
Im fairly helpless with this kind of stuff. I’ve spent the last couple hours searching for the answer to my question but frankly I’m a bit scared of breaking my subreddit if i mess it up.
Basically I just want folks to have to type say 100 or so characters in the body of both link and text posts, and automatically remove the post and have a message to the OP if there aren’t enough? Can someone please share something I can cut and paste and tell me where it goes? Thanks a million.
r/AutoModerator • u/Rostingu2 • 9d ago
How do I regex an asterisk?
#automodtesting
author: ['rostingu2']
title+body (regex): ['t(e|*)st']
comment: |
test
r/AutoModerator • u/Expert-Two8524 • 10d ago
I am new here so I don't know much about codes, please help me
Hi, hope you all are doing well. I am new to reddit so I don't know much. I need a little help from you. Can you tell me how to setup an automoderator for comments in my subreddit, like if someone posts something then my comment will be automoderated automatically and then pin the comment will also be there, as it happens in many reddits, and also I want to know how to auto remove many bot comments and posts and what code should I put for the posts, please tell me
r/AutoModerator • u/broooooooce • 10d ago
Help Would it be possible to automatically lock comments on removed post?
We don't continue to monitor threads that have been removed. However, these posts may still be accessed via direct links and from users' histories. In an attempt to curb reports and prevent additional abuses that might be added later on posts that have already been removed, I'd like to automatically lock posts upon their removal. To be honest, this is mostly because we all forget to lock removed posts ourselves most of the time. So, this would save us the trouble of having to do it--or even have to remember to do it--moving forward.
Thanks in advance for any help c:
r/AutoModerator • u/MelodicPlant5013 • 10d ago
Help auto moderation help
I have 0 idea about coding an i want a simple auto moderation setup to where it approves posts and alerts me if posters or commenter's are not following rules
r/AutoModerator • u/Expert_Wall5587 • 10d ago
Help Automod script not working??? Help.
Hey guys so i'm relatively new to using Automod. the subreddit i'm a moderator for has a requirement for users creating posts. users must at least have a combined karma of 50 and account age of 30 days. the code I'm currently running is not removing posts that are not meeting this requirement.
here is the code I'm using.
---
type: submission
author:
combined_karma: "< 50"
account_age: "< 30 days"
satisfy_any_threshold: false
message: "Your post was removed due to low karma and/or low account age."
action: remove
action_reason: "User has less than 50 karma and/or an account younger than 30 days"
i don't know what i did wrong. i saw a video on yt and this is where i got this code from but it seems to not work? or I'm doing something wrong. any help is very much appreciated. thanks in advance!!!
r/AutoModerator • u/Paerre • 10d ago
What did I do wrong?
I made this code to prevent people from asking for DMs. But it’s giving me server error every time.
Ignore the formatting cuz I’m on mobile
filter people asking for DMs
type: any
body+title (includes): [ 'dm me', 'message me',
'PM me', 'send me a (message|DM|PM)]
action: filter
action_reason: asking for dms
r/AutoModerator • u/retrocheats • 11d ago
Help Can you set a user flair (not post flair)?
At first I thought I was setting the user's flair, but then I realized later, it was for the post's flair.
# SET Post FLAIR FOR THIS POST - First Post
type: submission
author:
post_subreddit_karma: "< 3"
is_contributor: false
moderators_exempt: true
set_flair: ["Hi, I'm new"]
overwrite_flair: false
---
r/AutoModerator • u/HadjiChippoSafri • 12d ago
Help Sort comments by new for specific post titles doesn't seem to be working
Hi all,
Been trying sort comments for match threads on my football subreddit by "new", but can't get it to work.
I tried it with any submission that starts with "MATCH-THREAD", but even a super basic rule for where the title just matches "test post" isn't working.
type: submission title: "test post"
set_suggested_sort: new
I can see on this sub that there were issues with the comment sort historically, not sure if these have been resolved?
Or am I missing something with the rule or settings?
r/AutoModerator • u/thepottsy • 12d ago
I was gifted some automod code to respond to image posts, but I just can’t get it to work. There seems to be a syntax error, but I can’t figure it out.
I’m kinda new to using automod, so still figuring out its usage. Below is the code I was given. Anyone see an obvious issue?
# Send reminder on any link directly to imgur or reddituploads.
type: submission
standard: direct image links
comment: |
**This is a generic reminder message under every image post**
Thank you for your picture post to r/xxxxx. We want to remind everyone of Rule #1. All image posts should be accompanied by something to foster discussion. A comment, a question, etc is required.
If you've posted a picture of food, please explain why in a comment so people can have some sort of conversation. Simply dropping a picture of food in the sub isn't really fostering any discussion which is what we're all aiming for.
Posts that are a picture with no discussion can and will be removed by the mods.
Thank you!
comment_locked: true
r/AutoModerator • u/AintStaine • 13d ago
Help Trying to create user flair automation but it isn't working how I what it to work
I want to give newbie flair to first time posting users in the sub, but they can change it to other flairs if they wish to from the user fairs list. but when I try it, it is always changing back to newbie. what am I doing wrong?
---
author:
~flair_template_id: [max level]
combined_subreddit_karma: '>12'
set_flair:
template_id: 638d31c8-c482-11ef-afcf-16b0fc58bf46
overwrite_flair: false
---
author:
~flair_template_id: [newbie]
combined_subreddit_karma: '>0'
combined_subreddit_karma: '<12'
set_flair:
template_id: ec795fc0-c47d-11ef-ba60-ee01178d1ba8
overwrite_flair: false
r/AutoModerator • u/DangernessAtacks • 13d ago
Help Is there a way to make Automod automatically change the flair of a post once it is deleted?
New to Automod, and I don't really know a lot about it. In the subreddit I'm moderating, we have a special flair for when we delete a post, but we have to manually go and assign it to every deleted post.
Automod itself deletes a lot of posts because we've set it up to delete submissions from users with less than 50 karma.
So, would there be any way to make Automod change the flair of a post once anyone deletes a post, once Automod deletes a post, or is it impossible to do?
Thanks for the help in advance.
r/AutoModerator • u/CelebsinLeotardMOD • 13d ago
Help Need help with AutoMod to remove non-English comments and posts automatically
Hi guys,
I’m trying to set up AutoModerator on my subreddit to automatically remove non-English comments and text-based posts. I’m a bit confused about the best way to do this. Should I use the automation option, or is there a different approach that works better for this?
Any help or tips would be really appreciated. Thanks in advance!
r/AutoModerator • u/Monterey-Jack • 13d ago
Help Does title#noregex work with reddit's automod?
I've been using it for months but I can't tell if it's working. There's nothing in any of the mod logs about this rule being enforced through automod.
r/AutoModerator • u/rasta_a_me • 14d ago
Help Trying to Figure Out How to Set Flairs of Posts of Users who Forgets to add a Flair
I'm kinda new to this. I tried this, but nothing happened
type: submission
flair_text (includes-word): " "
overwrite_flair: true
set_flair: "Insert Tag Here"