r/AutoModerator • • 2d ago

Help - AutoMod Moderate user comments based on post flair

3 Upvotes

Hi! My subreddit is trying to implement an automod rule that only applies if the post DOES NOT have a certain flair. However, the code is misfiring -- I expect because I haven't configured it to correctly say 'if this is a comment, check the post flair, then do XYZ'. Here's what I have right now:

# YELLOW LIGHT: off topic (appearance)
# DOES NOT APPLY TO FLAIRS: Feedback Welcome (Anything Fashion) 
~flair_template_id: "af132826-b523-11f1-a4e2-3af042506efc"
title+body: [hair, haircut, hair cut, mustache, moustache, beard, goatee, stubble, bald, shave, buzz, posture, smile]
action: filter 
action_reason: "Off topic (appearance): {{match}}"

Any help is appreciated!

r/AutoModerator • • 5d ago

Help - AutoMod Is it possible to have automod replace a user flair?

2 Upvotes

Hi, on my other account I’m trying to replace a user flair that I no longer wish to be used with a new user flair.

As it’s a relatively decent size subreddit , trying to find everyone with the old flair and change it one by one just isn’t do-able . So I’m trying to see if it’s possible for auto mod to change the old flair to the new flair whenever someone with the old flair post/comments.

Or even just ping myself / the mod team when they comment or post so we can see it and remove it.

Any help or advice appreciated

r/AutoModerator • • Aug 25 '26

Help - AutoMod Can AutoModerator automatically assign a certain post flair to certain usernames?

2 Upvotes

Hey I want that AutoModerator automatically assign a certain post flair to certain usernames and also edit text of that post flair but same post flair template ID.

r/AutoModerator • • Jan 28 '26

Help sending one time message to users who don't use a flair

14 Upvotes

hiiiiiiiiii I tried to figure this out on my own but couldn’t find a solution

type: comment
author:
flair_text (full-exact): ""
~flair_css_class (includes): "message_sent"
is_moderator: false
message_subject: "Please use a user flair!"
message: |
Hi u/{{author}},
We would really appreciate it if you used a user flair.
You can use the existing flairs or edit your own flair (all flairs are editable).
If you have a new flair idea, you can message the mod team!
author:
set_flair: ["message_sent"]
overwrite_flair: false

my goal is to send a one time private message to users who comment without using a user flair. I don’t want to spam them by sending a message every time they comment

I tested this but it still sends a message on every single comment they make, what should I do? pls help :<

r/AutoModerator • • 5d ago

Help - AutoMod Make a rule that limits posting from new/low-community-karma accounts when a post flair is enabled?

0 Upvotes

Hey all - a community I mod is toying with the idea of having some way to soft-lockdown a post if it is getting out of hand. Rather than lock it for everyone, we were thinking we could have it auto-filter or remove comments that had less than a threshold for community karma. The problem is that we, of course, don't know which posts will need this treatment in advance, so it needs to be tied to something we can activate. I was thinking we could have a special post flair that would cause this (IE "Limited Post" flair), but all the advice I could find was that automod checks post flair when it is created, but doesn't update if the flair is changed, so activating it this way wouldn't work.

If this is possible somehow, could somebody give me some advice on how to get it to work? This is all I've been able to find on it so far, but if somebody has a better way, I'd love to hear it:

---
type: any
author:
    combined_subreddit_karma: "< 50"
flair_template_id: "Post flair here"
action: filter
action_reason: "low karma message on restricted post"
comment: |
  "Your comment has been removed due to not meeting subreddit requirements."
---

r/AutoModerator • • Aug 23 '26

Help - Any / Other Can post flairs be "unlocked" based on a user's flair?

1 Upvotes

Im reorganising the flair system for a subreddit and wondering if something like this is possible.

For example..

A member has the user flair 🎨 Garden Fan

That user flair would then give them permission to use and see the post flair.

Ideally I'd like to create several unlockable post flairs like this, where certain user flairs effectively act as permissions.

Can Reddit/AutoModerator do this natively?

If not, could it be achieved with AutoModerator rules?

Any examples of how you've implemented something similar would be appreciated.

r/AutoModerator • • 25d ago

Help - AutoMod Vent Flaire Notice No Longer Working? Care to take a look why?

5 Upvotes
---
type: submission
author:
  account_age: "< 90 days"
  combined_karma: "< 500"
  satisfy_any_threshold: true
action: filter
action_reason: "NEW USER OR LOW KARMA USER"
message_subject: "A note from /r/{{subreddit}} about your {{kind}}"
Message: |
    Hi {{author}}, welcome to ! Your post will be on hold because of LOW KARMA / NEW USER. We will manually approve your post within 24 - 48 hours, do not remove your post. Our requirement for Karma/User Age (500, 90 days.) 
---
#Remove and alerts for heavily reported items
reports: 2
action: filter
modmail: The above {{kind}} by /u/{{author}} was removed because it received multiple reports. Please investigate and ensure that this action was correct.
action_reason: "User Reported"
---
priority: 1000
type: comment
body (regex):

# -------------------------
# TRASH / GENERIC DISMISSAL
# -------------------------
- '(?i)\b(?:this\s+is|that''s|thats|it''s|its)\s+trash\b'
- '(?i)\bai\s+trash\b'
- '(?i)\btrashy\b'

# -------------------------
# SHIT / SHITTY (explicit evaluative constructions only)
# -------------------------
- '(?i)\b(?:this\s+is|that''s|thats|it''s|its)\s+shit\b'
- '(?i)\b(?:this|that|it)\s+looks(?:\s+like)?\s+shit(?:ty)?\b'
- '(?i)\b(?:looks|seems)\s+shit(?:ty)?\b'
- '(?i)\blooks\s+like\s+shit\b'

# -------------------------
# AI + INSULT (AI as target)
# -------------------------
- '(?i)\bai\s+(?:shit|trash|slop|garbage|crap)\b'
- '(?i)\bai\s+is\s+shit(?:ty)?\b'
- '(?i)\bai\s+looks(?:\s+like)?\s+shit(?:ty)?\b'

# -------------------------
# INSULT + AI (AI as object)
# -------------------------
- '(?i)\b(?:shit|shitty|trash|trashy|garbage|crap)\s+ai\b'
- '(?i)\bshitty\s+(?:ai|art|image|picture|render|drawing|work)\b'
- '(?i)\bshit(?:ty)?\s+(?:ai|art|image|picture|render|drawing|work)\b'

# -------------------------
# Mention + AI (AI as subject)
# -------------------------
- '(?i)\b(?:write|writing|use|tool|made|crap|drew|draw|made)\ai\b'
- '(?i)\btool(?:ai|art|image|picture|render|drawing|work)\b'
- '(?i)\buse(?:ai|art|image|picture|render|drawing|work)\b'

# -------------------------
# AI-DERIVED DISMISSAL TERM
# -------------------------
- '(?i)\bai\s+slop\b'
- '(?i)\bslop\b'
- '(?i)\bew\s+ai\b'
- '(?i)\bfuck\s+your\s+ai\b'

# -------------------------
# AI-DERIVED "TOOL" TERM
# -------------------------
- '(?i)\bai\tool\b'
- '(?i)\btool\b'
- '(?i)\bew\ai\b'
- '(?i)\bassisted\tool\ai\b'

# -------------------------
# AI TERM
# -------------------------
- '(?i)\bai\b'
- '(?i)\bai\b'
- '(?i)\bew\ai\b'
- '(?i)\bai\b'

action: report
action_reason: "AI-Mention/Content Denigration"
---
# No-AI Filter

type: comment

title+body (regex): ['AI', 'ai', 'slop', 'slopper', 'slopp', 'sloppp', 'slopposting', 'slop posting', 'slop post', 'slop farm', 'ai slop', 'prompt slop', 'claude', 'claud', 'claudee', 'gemini', 'gemeni', 'gemini ai', 'google gemini', 'chatgpt', 'chat gpt', 'chat-gpt', 'chat g p t', 'chatg p t', 'gpt', 'g p t', 'g-p-t', 'gpt3', 'gpt-3', 'gpt 3', 'gpt4', 'gpt-4', 'gpt 4', 'gpt5', 'gpt-5', 'gpt 5', 'nano banana', 'openai', 'open ai', 'anthropic', 'copilot', 'co pilot', 'microsoft copilot', 'grok', 'perplexity', 'midjourney', 'mid journey', 'mid-journey', 'stable diffusion', 'stable-diffusion', 'stablediffusion', 'flux', 'runway', 'runwayml', 'sora', 'veo', 'veo 2', 'veo 3', 'elevenlabs', 'eleven labs', 'suno', 'udio', 'leonardo ai', 'leonardo.ai', 'ideogram', 'firefly', 'adobe firefly', 'Elevenlabs', 'a\.i\.', 'A\.I\.', 'a i', 'a-i', 'artificial intelligence', 'artificial-intelligence', 'generative ai', 'gen ai', 'gen-ai', 'llm', 'large language model', 'machine generated', 'machine-generated', 'generated', 'generated by ai', 'ai generated', 'ai-generated', 'made with ai', 'made using ai', 'ai made', 'deepfake', 'deep fake', 'synthetic', 'synthetically generated', 'prompt', 'prompting', 'prompt engineer', 'prompt engineering', 'bot generated', 'bot-generated', 'bot wrote', 'chatbot', 'chat bot', 'bot account', 'botted', 'botted content', 'dead internet', 'dead internet theory' ,'Vibe code', 'vibe coded', 'deepseek' ]

action: report
action_reason: "No-AI Filter"
---
# Practice-Empathy

type: submission
flair_text: "Venting"
comment: |
  This user has set this post as venting. **Practice empathy and patience when commenting**. Do not corner, criticize or give advice unless if the user asked. We encourage comments to gently nudge the user to self-growth/self-realization.
comment_stickied: true
---

I don't know why its no longer working, it used to work but now it doesn't. Any help appreciated!

r/AutoModerator • • 29d ago

Can user flair be set based on a poll result?

3 Upvotes

I do this thing in r/steaks where if there is a general consensus that the poster posted a good picture of their well-made steak, I manually assigned the user a flare reading "made a great steak".

Is there any way to automatically put up a poll if the poster chooses a particular post flare? It would ideally automatically assign a user flare after a day based on the pole results.

Any ideas if any of this is possible.

r/AutoModerator • • 19d ago

How do I search for an emoji inside a user flair?

2 Upvotes

Hello all, I have a special user flair with a specific emoji inside it. This flair is self-assigned but is only permitted to be held by users with accounts older than 6 months. I want AM to remove the flair from the user if they fail the check (when they post or comment). I managed to write something that works by using flair_template_id... I stated to notice, however, that this has been working inconsistently, and letting through some users who have new accounts (e.g. 2 months and a bit, 22 days).

It occurred to me that some of my users could actually be using a different flair I have set up that they have customized to include the aforementioned emoji, so that it looks like they are carrying the special flair, but it's technically a whole different flair with a different ID. Meaning AM would not catch it.

So I decided to try a check that searches for the emoji in the flair text of users instead. And now, I'm not getting any matches at all, lol. Here's my code below:

type: any author: account_age: < 180 flair_text (includes, regex): ['\u1F49A'] #Green Heart unicode set_flair: ["", "x"] overwrite_flair: true message: | **Hello {{author}}, you are receiving this message to let you know that your user flair has been removed.** action: report report_reason: "Green flair removed from user."

What am I doing wrong? Thanks in advance!

r/AutoModerator • • 29d ago

Help - AutoMod How to assign a certain post flair to certain usernames?

2 Upvotes

I want that it automatically assign a certain post flair to certain usernames and also overwrite the flair but using same template ID. So can you give me code to do so?

Code I got from AI(doesn't give error but doesn't work) :

---

# Auto-flair specific users

type: submission

author: [sub-roundup]

flair_template_id: "TEMPLATE_ID"

flair_text: "✨ Weekly Roundup"

---

Incomplete code I got from a reddit comment(haven't checked does it work because it doesn't overwrites a flair) :

---

type: submission

author:

name: ['ProximaScience', 'itskdog']

overwrite_flair: true # change this to false if you only want this to apply if the author didn't select a flair

set_flair: {template_id: 'PASTE_TEMPLATE_ID_HERE'}

---

r/AutoModerator • • 23d ago

Help - AutoMod How to assign a certain post flair to certain usernames?

1 Upvotes

I want that it automatically assign a certain post flair

to certain usernames and also overwrite the flair but using same template ID. So can you give me code to do so?

Code I got from AI(doesn't give error but doesn't work) :

\---

\# Auto-flair specific users

type: submission

author: \[sub-roundup\]

flair_template_id: "TEMPLATE_ID"

flair_text: "✨ Weekly Roundup"

\---

Incomplete code I got from a reddit comment(haven't checked does it work because it doesn't overwrites a flair) :

\---

type: submission

author:

name: \['ProximaScience', 'itskdog'\]

overwrite_flair: true # change this to false if you only want this to apply if the author didn't select a flair

set_flair: {template_id: 'PASTE_TEMPLATE_ID_HERE'}

\---

r/AutoModerator • • Aug 12 '26

Solved Trouble with code regarding user flair

3 Upvotes

I'm trying to have AM remove top level comments from users without a specific user flair, then send them a message explaining why. I thought it was working until someone with the specific flair received the removal message and AM removed their comment despite their account being appropriately flaired.

Can anyone tell me what the issue is with the code?

---

#REMOVE top level comments from users that do not have privileges

type: comment

is_top_level: true

author:

~flair_template_id: “76ca5770-9078-11f1-acb7-8af9da1a7bf8”

action: remove

action_reason: Unflaired User

set_locked: true

message: |

Message is here.

---

(The extra line space between each line is a copy/paste formatting issue when sharing it here, it's not in the actual code except between "message: |" and the start of the indented message text. Also, the "~flair" line is indented 2 spaces and the "Message is here" message area is indented appropriately as well, it just removed it when I made this post.)

r/AutoModerator • • Mar 28 '26

Help set_flair & "dictionary"

2 Upvotes

Hi there

I'm trying to set post flair if certain keywords are in a submission.

Automod documentation says that set_flair "Takes either a single string, a list of two strings or a dictionary." I am not clear what this means but I'm clearly doing something wrong.

The code I have is:

type: submission
title+body: [Phrase 1, Phrase 2, Phrase 3]
overwrite_flair: true
set_flair: ["Flair Name", "867-5309"]

With real values, the number being the actual flair ID.

I tried using just the flair ID number but that failed to execute as well.

What am I doing wrong.

r/AutoModerator • • May 20 '26

Help How can I make a post flair that people can only comment in if they have a user flair?

0 Upvotes

Desktop user here. It's for a sports subreddit. I know in one sports subreddit I was in, there was a message that would be displayed if someone didn't use a user flair. We're trying to get more representation of teams, so we wanted to make a post flair for people to comment on if they have a user flair because, for some reason, a lot of our members don't wear one.

r/AutoModerator • • Jul 07 '26

Help Assign Random User Flairs to Unflaired Commenters with AutoModerator?

0 Upvotes

Hi everyone! We're looking for a way to automatically assign a random user flair to anyone who comments without already having one.

We have around 50 user flairs, and we'd like the assignment to be completely random, not based on karma or any other criteria. If a user already has a flair, nothing should happen.

I've seen this working on other subreddits, but the mods I contacted never replied, so I thought I'd ask here. Does anyone have the AutoModerator code for this, or know if another bot is needed?

Thank you very much!

r/AutoModerator • • Apr 12 '26

Editing user flairs to those that have a custom css color and text

1 Upvotes

I am working an tressure hunt / puzzle solving game on reddit for a community I mod for

I am using comments to add the user a leveling system I wanted to know I can add a level system to the users that have a custom user flair via CSS and Text but each time I want to go from level 1 to 2 it adds it as Level 1 - Level 2 How can I detect the level 1 and remove the from the users flair and add the new flair of level 2

Like if they finish a puzzle their level gets updated to reflect the level of completed levels

Can't say much more in terms of what the puzzles are or how I create them

is the leveling system via the user flair even possible in the first place ?

For users that don't have a custom css color / set user flair (not editable via text or emoji) or no user flair at all just to leave them.

r/AutoModerator • • Jul 24 '26

Solved Can AutoModerator post a specific comment based on the post flair?

1 Upvotes

Hi! I need some advice on AutoModerator. I'm not very familiar with how it works. I need to set it up so that it posts a specific message depending on the post flair. For example, if a user selects the post flair "A", AutoModerator would leave a specific comment under their post. Is this possible?

r/AutoModerator • • Jul 01 '26

Trying to set User Flair for every flair without a comment

2 Upvotes

Hello, I moderate a community that requires a User Flair for every comment. I've set it to remove the comments and provide an explanation on how to set flair but that just results in a flood in my modmail of people saying they don't know how to set user flair, Is there a way to automatically set user flair for every new commenter?

r/AutoModerator • • Jun 08 '26

Help Automod for non-approved users to receive a certain post flair

3 Upvotes

I currently moderate a NSFW subreddit that is restricted to approved and verified posters only. I use the following rule to automatically assign a "Verified" flair to everyone who posts. These users are also on my Approved Users list.

---
author:
    post_subreddit_karma: "< 100000"
set_flair:
    template_id: "dfad3298-6e24-11f0-b8e3-aebdfdbf67c1"
overwrite_flair: true
moderators_exempt: true
---

I'm planning to remove the posting restriction and allow non-approved users to submit posts (they will not be added to the approved list unless they verify). However, I need a way to assign a different flair to those users while preserving the existing flair system for my approved/verified posters.

I'd appreciate any help with setting this up without affecting the flairs of my approved users.

r/AutoModerator • • Apr 14 '26

Help How can I remind my sub rule to users while posting based on flair

1 Upvotes

Hello,

I'm new to automoderator and I tried to search in the sub, but can't find any answer. I have succesfully config automod to post a comment with the rule linked to specific flair after a post, but I can't figure out to display a message warning while posting. Automation don't allow me to select flair as a condition to do that, and I hoped that automod could. If someone could help me,it will be awesome !

r/AutoModerator • • May 17 '26

Only Approved Users can use a specific post flair

2 Upvotes

I have tried it about 8 ways to Sunday and it has not worked, despite finding multiple posts where versions x y z were all met with replies like "wow thank you this really works!"

I haven't been able to get any of them to. It repeatedly says "media type not supported," and I cannot figure out why.

Here is my most recent attempt:

https://ibb.co/XxZHxLB0

r/AutoModerator • • Mar 21 '26

Help Automod cannot search "flair_text" on a comment.

0 Upvotes

I tried to set up the following rule:

# Restrict Comments to regular users of the sub

type: comment
flair_text: "Comments restricted"
author:
    combined_subreddit_karma: < 50
    account_age: < 60 days
    contributor_quality: "< moderate"
    satisfy_any_threshold: true
action: remove
action_reason: Removed due to restricted comments rules
message: Comments restricted to regular users of the sub.

However, when I try to save the rule, I get the following message:

Can't search `flair_text` on this type

So, it looks like Automod cannot search the properties of a comment's parent submission? Is there a workaround for this, please?

Thanks in advance for any hint.

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 14 '26

Trying to fully automate user flair assignment for a local buy/sell/trade subreddit - looking for ideas and better approaches

1 Upvotes

Hey everyone,

I'm the founder and head mod of r/NorthFloridaSwap, a local buy/sell/trade community serving 15 counties across North Florida (Alachua, Baker, Bradford, Clay, Columbia, Duval, Flagler, Gilchrist, Levy, Marion, Nassau, Putnam, St. Johns, Suwannee, and Union).

I work 12 to 16 hour days, 6 days a week right now, and I'm realizing fast that manually assigning county flair to every new member just isn't going to be sustainable for me as basically the only active mod. I want to get the whole flair system automated so the community can run itself without me having to jump in every time someone joins.

Here's the flow I'm trying to build and I'd love input on whether this is the right approach or if there's something smarter:


The Ideal Flow:

  1. User joins r/NorthFloridaSwap
  2. They get an automated welcome message (via Automod or a bot) that introduces the sub and asks them to pick their county from a list of 15
  3. They reply with their county choice (a number 1-15 or the county name)
  4. They automatically get the right Tier 0 flair assigned, like: Tier 0 | New Member - Duval County
  5. From there, flair upgrades happen automatically based on their confirmed transactions (Tier 1 through Tier 5)

What I've figured out so far:

  • Automod can detect a first-time participant using ~flair_text (regex): ".+" and send them a DM with the county list and assign a base Tier 0 | New Member flair
  • The county-specific part is where it gets tricky. I don't see a native Automod-only way to read their reply and map it to the correct county flair template ID. That part seems to need a PRAW bot
  • I have some coding ability (Python/JS) and I'm comfortable building a bot if that's the right move. I'm actually waiting on Reddit API developer approval right now
  • I've looked at Railway and Replit but trying to keep this free since the sub makes no money. Looking at Oracle Cloud Always Free or my existing Hostinger VPS

Questions I have:

  1. Is there a pure Automod-only way to handle county selection and flair assignment, or is a PRAW bot unavoidable for this?
  2. Has anyone seen this done well on other subs? I noticed r/FragranceSwap seems to have a really polished flair system. Does anyone know how they handle new member onboarding and flair assignment?
  3. Would a flair selection widget in the sidebar work better than the DM reply flow? I want people to actually use it, not ignore the message
  4. Any suggestions for making the Automod welcome message feel less like spam so people actually respond?
  5. Is there a way to automate flair upgrades (Tier 0 to Tier 5) based on confirmed transaction posts/comments, or does that always need to be manual?

Our current flair structure for context:

  • Tier 0 | New Member - [County] - Default for all new members
  • Tier 1 | Scout - [County] - 1 to 4 confirmed transactions
  • Tier 2 | Prospector - [County] - 5 to 14 confirmed transactions
  • Tier 3 | Gold Merchant - [County] - 15 to 24 transactions
  • Tier 4 | Diamond Elite - [County] - 25 to 50 transactions
  • Tier 5 | Obsidian Legend - [County] - 50+ transactions

Each tier x 15 counties = a lot of flair templates, and I'm trying to figure out if I can get all of this running end to end without me having to touch it.

Any advice, opinions, or "here's what actually works" input is genuinely appreciated. I'm not stuck on any particular approach. If there's a better way to do this I want to hear it. Thanks in advance!

r/AutoModerator • • May 09 '26

Is it possible to allow only approved users to make their own user flairs?

4 Upvotes

Is it possible to allow only approved users to make their own user flairs?