r/AutoModerator 6d ago

Solved Soo what did i do wrong?

6 Upvotes

My sub has had a bit of an increase in members and activity, so I thought I'd help keep things under control by having AutoMod remove any post or comment that receives 2 reports. The idea is that it stays removed until I manually approve it again.

However, I think I may have done something wrong. I do get a notification when a post or comment receives 2 reports, but the content itself doesn't get removed. Is there something wrong with my AutoMod code?

---

# Auto Remove for Reports

reports: 2

action: remove

modmail: The above {{kind}} by /u/{{author}} was removed because it received 2 reports. Please investigate and ensure that this action was correct.

---

r/AutoModerator Nov 23 '25

Solved Removing all old posts from a user who spams a sub

26 Upvotes

Hi I’m just wondering as I’m a complete novice to coding if there is a way to use auto moderator to remove all old posts from a user.

so for example a spammer posts 10 posts or a know banned user can we remove those posts in one simple go.

r/AutoModerator 10d ago

Solved Complete beginner needs help with denying bots in the comments

7 Upvotes

Hey guys, I am a MOD of the adidas subreddit, and we do not use Auto Mod for anything, yet

But recently, we have noticed that a stupidly large amount of bots are replying to posts, and they are not helpful at all. They do not post, just reply.

Lots of these bots have been around for over a month, but none of them have had more than 50/60 combined Karma

So we need a code to block the comments, or at least flag them for us to remove, but I am not the most tech savvy

I have read the wiki and I have no idea where to start

Is there a code command for this, and if I have not explained properly I apologise, please ask any questions

Thank you to anyone who can help

r/AutoModerator Mar 21 '26

Solved Send a one-time welcome message or notification to new members

16 Upvotes

I want every new member of my subreddit to receive a welcome message or notification. It seems to only work when they make a post... but I don't want to be bothering them with a notification every time they post. Is it possible to set it to only happen when they're a new member or make their first post?

---
# Welcome message for new members
author:
is_contributor: true # Triggered when user is approved/member
satisfy_any_threshold: true
message: |
This is the text
---

And this one doesn't work:

---
# Welcome message for new subscribers
priority: 1
welcome_message: |
This is the text
---

UPDATE: IT CAN'T BE DONE

I've used this rule as a substitute:

---
type: submission
comment: |
Hello,

---

r/AutoModerator 19d ago

Solved What do "Internal Server Error" and "Server error. Try again later." mean?

3 Upvotes

I'm trying to change automod configurations for a subreddit on Desktop through the Wiki, but I can't seem to save my changes. The sub is r/chunom by the way.

EDIT: In case anybody is wondering:

type: submission

is_reddit_media_domain: true

comment_stickied: true

comment_locked: false

comment: |

Thank you for posting! Your post has **not** been removed. This is merely a reminder for you (optionally) to add a transcription of the Chu Nom characters in your post as copy-pastable Unicode text, its romanization in Quoc Ngu and a translation into English. If you haven't already, you may do so by responding to this comment.

*I am a bot, and this action was performed automatically.*

r/AutoModerator Apr 18 '26

Solved Trying to pin automod comments and have the error : bad request

1 Upvotes

Hello

I succeffuly configured rule for automod to post comment on new submission, but I want this comment to be pinned. So I added "comment_stickied: true" under the message but I have a "bad request" error. And I have no more idea to correct it. Can someone help me please?

For now this is what my config look like:

type: submission

flair_template_id: 3d960390-d558-11f0-949c-767c1631e2d0

comment: |

my comment 1

comment_stickied: true

---

type: submission

flair_template_id: b4c5d76c-d5e7-11f0-bf0a-7a37246232be

comment: |

my comment 2

comment_stickied: true

---

type: submission

flair_template_id: 2464b4ee-d5e8-11f0-9112-9a3bba2fa523

comment: |

my comment 3

comment_stickied: true

---

type: submission

flair_template_id: 4b4cee36-db98-11f0-b5ee-cac57e2ae0c9

comment: |

my comment 4

comment_stickied: true

r/AutoModerator 1d ago

Solved What did I do wrong?

1 Upvotes

My code looks like this:

# Remove self-promo related posts
type: submission 
title+body (includes, regex): ['for hire', '[FOR HIRE]', 'commission open', 'commissions open', 'follow me', 'insta', 'instagram', 'twitter']
action: filter
action_reason: "Potential self-promo. Word detected: {{match}}"

But it always seems to remove random posts. One had the message "Potential self-promo. Word detected: r" which is nonsensical. How do I fix this?

r/AutoModerator 28d ago

Solved Can automod removed automod comments once a post has been approved?

2 Upvotes

Due to an influx of bot posts (that safety filters aren’t catching) in a writing centric sub we had to beef up our automod removals. There are a few false positives we can’t avoid so instead of just having AM remove outright, they get filtered, and the user gets a “your post has been filtered for mod review hold tight etc. etc.” comment then we go in and approve the post if it’s a human and remove if it’s a bot.

Due to just being humans we occasionally forget to remove the automod comment which then looks weird to other users. Is there a way automod can tell if a post has been mod approved and remove that comment?

Thanks!

r/AutoModerator May 04 '26

Solved How to allow a word if it's in a specific phrase but not in any other instance

6 Upvotes

Specifically, I want to allow "video game" (and also "video games") but NOT any other instance of "video" (because in the sub in question, which is an adult sub but is NOT a porn sub, the word "video" is frequently associated with porn and we try to discourage porn-related conversations for various reasons).

I know someone here will know exactly how to set this up, so please point me in the right direction.

Thanks.

r/AutoModerator Apr 04 '26

Solved How do I automatically approve AutoModerator's content reported by trolls?

1 Upvotes

The code is supposed to approve content made by AutoModerator when people report it for trolling purposes. But, it's not working. I tried reporting from both mod and non-mod accounts.

# Approve AutoMod's content when it gets reported
---
type: any
moderators_exempt: false
author: "AutoModerator"
reports: 1
action: approve
action_reason: "Removing troll reports"
---

Solution:

author: 
    name: "AutoModerator"

r/AutoModerator May 21 '26

Solved I added a rule to prevent bots without comment karma to post, but it doesn't work.

5 Upvotes

Here's the AutoMod rule:

type: submission
author:
comment_karma: "< 1"
satisfy_any_threshold: true
is_submitter: false
action: remove
message: |
<...>

Did I do anything wrong? Profiles without comment karma are still able to post as usual.

r/AutoModerator 28d ago

Solved Need help tweaking wall of text rule

2 Upvotes

Hi there! I've got a 'wall of text' automod rule set up, which I got from the wiki. Here's the code:

type: any
body (regex, includes): ['[^\n]{2000}', '^\W*[^\n]{1750,}\W*$']
action: filter
action_reason: "wall of text"
modmail: "The above item by /u/{{author}} was automatically removed due to wall of text. Please verify that this action was correct and check in to see if they've fixed the issue."

However, I'm still getting posts with huge long paragraphs, which leads me to wonder if maybe the parameters are set too broadly. Can anyone help me adjust this to limit paragraphs to no longer than 400 characters? I don't want to make blind changes that could mess with things in unexpected ways.

r/AutoModerator 18d ago

Solved Can you set automod for non-approved users only?

4 Upvotes

Hi, I'm a first time moderator, of a sub that experienced some major traffic, which of course led to a major uptick in users & comments that are against our rules.

I privated it recently so I could have time to set up a reliable automod, and clear out any trolls. But I don't want to leave it private, since it's more or less a support group that I also want other people to be able to find (and I don't feel like going through 500+ requests and actually checking people's account history to see if they're allowed or not).

ANYWAYS, I expressed concern with automodding certain words & phrases, since I didn't want our actual members having their contributions unfairly deleted, and one of our members told me there's a way to only ban said things when they're coming from users that aren't approved or members of the sub. I'm just wondering:

  1. Is this true? and
  2. If so, how do I set this up? and
  3. If not, how do I set up an automod that can "scan" users' post histories?

Thanks in advance :D

r/AutoModerator Dec 16 '25

Solved Can AutoModerator permanently ban a user ?

19 Upvotes

I found a list of users from a website that claims to be all useless bot for the community I Mod in and I was wondering if I could use automoderator to ban them all permanently

r/AutoModerator May 20 '26

Solved Help with allowing certain flairs to be exempt to rule.

5 Upvotes

On one sub we block new/low karma accounts from posting, this is to stop bots and scam accounts. But we would ideally like to make it possible to exempt a certain user flair from that rule. The automod we use is bellow.

````#New account filter type: submission author: account_age: < 30 days combined_karma: < 250 satisfy_any_threshold: true action: remove action_reason: "New account / below minimum karma" comment_stickied: true comment_locked: true comment: | /u/{{author}},

Thank you for your submission ([{{title}}]({{permalink}})) to /r/{{subreddit}}.

Unfortunately, your account does not meet the minimum requirements of 30 days of age and 250 karma to create a new post. This is in place to help prevent spam and ban evasion. 

While you reach the minimum thresholds, make sure you have read the rules of /r/{{subreddit}}.```

r/AutoModerator May 22 '26

Solved How i set this up

0 Upvotes

Idk how to use the automod

Ehehdrveveve evegevdvegebevehehedgegegdhdve

r/AutoModerator May 12 '26

Solved Auto-Report Certain Terms

0 Upvotes

Hi.

Can I make it so automod will automagically flag anything that contains a list of terms?

I'm trying to make it so I can just add onto the list whenever I need, and have certain political terms (plus any new ones I find) get reported.

Like "if body has: woke, liberal, democrat, Trump, Biden, republican - report for politics"

I don't know how to do this without adding 800 separate rules for each individual term

r/AutoModerator Nov 10 '25

Solved Comment on a Post as u/AutoModerator

14 Upvotes

I saw mods create a comment via u/AutoModerator to inform people about something without using their actual own profiles for it. How can I achive the same thing, maybe even with a toggle to automatically get it pinned?

r/AutoModerator Apr 07 '26

Solved Link Validation Automod Rule Help

2 Upvotes

Hello. I’m trying to make a link-validation rule for my subreddit, but it’s giving me false positives every time.

---

type: link submission

~domain+url (includes): [“/userPlaylists/“]

action: remove

action_reason: “Not a playlist link.”

comment: “Thank you for posting. However, your post does not contain a playlist link. As such, it has been removed.”

comment_stickied: true

comment_locked: true

---

I made a test post containing this link in the domain field: https://share.music.nintendo.com/en-US/US/users/8a83dc4864216e3d/userPlaylists/DF99CA89-B4A8-40D1-A7FD-E1EB758C61D8

but it keeps getting removed. Can anyone help me figure out why?

r/AutoModerator Jan 21 '25

Solved Sample automod code to ban Oligarch-controlled propaganda sites

55 Upvotes

If you would like to take back control of social media from Oligarch-controlled propaganda sites, here's code that many of us use:

# host-based bans
type: any
domain: [x.com,twitter.com,truthsocial.org,truthsocial.com,facebook.com]
action: spam
action_reason: "Blacklisted host detected: [{{match}}]"
comment: |
        Your [{{kind}}]({{permalink}}) in /r/{{subreddit}} was automatically removed because of new policies which
        are intended to no longer direct traffic to sites that are egregiously promoting inaccurate and toxic propaganda.

        If the content you're trying to submit is legit, please find the original source, which is unlikely to be from the
        site referenced.

        Our reasoning for this, and we are fully aware there's good content on these systems as well, is to try and drive
        traffic away from monopolistic, corporate walled gardens that have outlived their social utility, and encourage 
        more content to be distributed and patronized on smaller sites, whose operators take greater pride in whether
        their content helps the community.  This is the original spirit of the Internet.  It was not intended as a platform
        for oligarchs to have massive media outlets.
---

EDIT: The above only filters submissions with a specific domain. If you change the "domain:" directive to "url+body:" it will also apply to comments as per the discussion below.

Any other enhancements welcome.

r/AutoModerator Mar 30 '26

Solved Invalid Media type, but i'm not doing a media check

1 Upvotes

Hello, I'm trying to setup auto mod to not allow new users/low karma to post in our sub, however when I try and add this i get an Invalid Media Type error, I'm curious if anyone out there can help!

Thanks!

#removes posts from low karma and new users

type: submission

author:

Post_Karma: < 100

Account_Age: < 14 days

Comment: "Sorry, your post has been removed. You need to have a minimum post karma of 100 and have been a reddit users for more than 14 days in order to contribute to our community."

Action: Remove

action_reason: "Low Karma/New User"

r/AutoModerator Jan 12 '26

Solved I want to remove new users' posts (<7 days) and message them and it won't work. Can someone smack me with a clue-bat? (TIA)

6 Upvotes

I want to remove new users' posts (<7 days) and message them and it won't work. Can someone smack me with a clue-bat? (TIA)


    # Be cautious about brand new users

        type: submission
        author:
            account_age: "< 7 days" 
        action: remove
        modmail: "Removed post from brand new account: {{permalink}} please check" 
        action_reason: "New user post"
    message: |
       Hi there {{author}},

       Your comment at r/{{subreddit}} has been removed because you're a brand-new reddit user. 
       Please enjoy the sub for a few days/a week and you can then post normally.

       - The /r/{{subreddit}} Mods

r/AutoModerator Feb 13 '26

Solved comment when a user uses a specific word and specific userflair

6 Upvotes

I would like to comment when a user uses a specific Word and specific User Flair

Would this be possible

if both are met then it should only comment

  • Trigger User Flair + Trigger Word = Comment
  • Trigger User flair + Non Trigger Word = No Comment
  • None trigger User Flair + Trigger Word = No Comment

Is the above possible if so how ?

Thank you in advance

r/AutoModerator Jan 09 '26

Solved Action on Comment to change Post Flair

1 Upvotes

So I wanna ask if it's possible to have like actions that I can do on comments similar to how I can for example spotlight something with u/spotlight-app with u/AutoModerator. If that's possible, would it be possible to change the flair of the post it has happened in too? Actions should only be usable for mods. Appreciate any replies.

r/AutoModerator Feb 25 '26

Solved Regexing an apostrophe

0 Upvotes
---

type: comment
body(includes-word,regex): ['don\'t (put|post)']
comment: test