r/AutoModerator

No config page when setting up automoderator

I am configuring automod for a new subreddit (reddit.com/mod/[name]/wiki/config/automoderator). I have saved the code but Automoderator isn't working as intended. Unlike my other subreddits created long ago, the navigation bar to the left doesn't show a "config" page. It's blank. I have full permissions on the subreddit so I'm not sure what is happening.

reddit.com
u/No-Way552 — 1 day ago

is this automod instrustion correct?

i am trying to remove posts from users without user flair. is this correct?

type: submission
author:
flair_text: ""
action: remove
action_reason: "Gebruiker heeft geen gebruikersflair"
comment: |
Blahhhhh

reddit.com
u/Confusedmind75 — 1 day ago

Trying to get auto mod to remove posts or body text with certain words.

I found this and am trying to turn it on but I am getting an error.

Anyone see what the issue is? "There was an error saving the Automoderator config: "Unsupported Media Type"


title+body (includes-word): ["test", "tested"]

type: submission

action: remove

action_reason: Contains banned word

moderators_exempt: false

message_subject: Your post has been removed from r/{{subreddit}}

message: |

Hi there, Your post has been removed from r/{{subreddit}} because it contains a banned word: "{{match}}". Please review the rules and guidelines in the sidebar before posting again. If you have any questions or concerns, feel free to contact the moderators of r/{{subreddit}}. Thank you.


I tried it on old reddit and this is the error I got.

YAML parsing error in section 17: while parsing a block mapping

in "<unicode string>", line 1, column 1:

title+body (includes-word): ["te ... 
^

expected <block end>, but found '<scalar>'

in "<unicode string>", line 8, column 105:

 ... tains a banned word: "{{match}}". Please review the rules and gu ... 
                                     ^
reddit.com
u/NCSUGrad2012 — 2 days ago

Is there anything wrong in this code??

I moderate NSFW sub and it has come to my notice that despite adding some of the words like "Add me", "Swipe right" in the banned list some bots are still able to upload posts in my sub using the same caption and the automod is unable to remove those words automatically. If there is any mistake then do rectify it.

Here is the code:
# Remove all spam titles 
   title (includes): ["swipe right", "add me"]
   action: spam
   action_reason: Contains a banned word/words (slur)
   comment: |
        Posts with low-effort titles are not allowed.
---
reddit.com
u/Timely_Virus_4015 — 3 days ago

Devvit Discussion: "Landing pages" Community home and more

I have no connection to any Devvit app, but I started to have this feeling about more discussion of Devvit apps, after a mod meetup and also over on Discord.

It likely would be healthy for the subreddit and the growth of this subreddit to have deeper discussions about Devvit apps.

Today: Hubs

Obligatory links to large list of Devvit apps for moderation

I've been frustrated at the state of "landing pages" on the subreddits I mod.

Much of it has to do with the new user experience. 100% we all know that they don't really read the rules (nor do they do so on discord, for example). But asking them to hunt/etc is failure.

I tried all three of the ones I found

I ended up on Community Hub. I had a couple of questions that u/PlexversalHD answers (and I believe they're an admin)

Here's were my needs.

I wanted to get the weekly/monthly links, the wiki, the rules, the "read this first" on a bunch of subreddits. I setup the community guide to show this post.

Community Home and Community links both need a bunch of graphics created. I just wanted a text box/button and go. I mean, I loved the customization, but not the speed.

So for Community hub has been great. I want more buttons. But it's simple, text based, shows up on mobile (I wish you could force it to be visible on desktop.

I had to go back and change my pinned posting schedule to use the second pin not the first.

Last, I think tools like this, should be 100% open source. In todays vibe coding age, it's a lower bar to take something and add the customization that people want/need.

reddit.com
u/greenysmac — 6 days ago

How do you get people to pay attention to automod comments?

Sub gets multiple posts each day on the same topic/question and we've put together some really good resources around that, plus set up an automod comment with links to them.

Nobody ever reads them. The automod comment is concise and straight to the point.

Any tips on how to get people to actually pay attention to it? Is there a better to get this in front of people?

reddit.com
u/harad — 7 days ago

Comments with negative karma making it past crowd control and automod

I made an automod to filter out new accounts from posting so we don't get bots. I also included negative subreddit karma so that those comments from people who have been aggressively downvoted will be deleted. But even with crowd control at maximum filtering, some of the comments with negative karma are making it into the mod queue instead of just being deleted.

Can someone review my automod and tell me what I did wrong?

# ===============================================

# SPAM/BOT FILTERS

# ===============================================

# Block new accounts for potential spam/trolling

type: submission

author:

account_age: < 180 days

combined_karma: < 500

satisfy_any_threshold: false

action: remove

moderators_exempt: true

action_reason: Removed for age/karma limitations

comment: |

Your post was removed because you don't meet the minimum account age and karma requirements to contribute to our sub.

Please do not send us a modmail about this. Feel free to come back once you've participated in Reddit a bit more.

---

type: comment

author:

account_age: < 60 days

combined_karma: < 100

satisfy_any_threshold: false

action: remove

moderators_exempt: true

action_reason: Removed for age/karma limitations

message: |

Your comment was removed because you don't meet the minimum account age and karma requirements to participate in our sub.

Please do not send us a modmail about this. Feel free to come back once you've participated in Reddit a bit more.

---

# Filter/flag troll accounts # FLAG POTENTIAL FIGHTING WORDS FOR REVIEW

type: comment

THIS PART CONTAINS A LOT OF SLURS THAT I TOOK OUT FOR THE SAKE OF THIS POST

action: report

report_reason: "Potential fighting words"

author:

comment_karma: "<-20"

action: filter

action_reason: "Possible troll"

---

# ===============================================

# HARASSMENT FILTERS

# ===============================================

# FILTER HATEFUL SLURS

type: comment

THIS PART CONTAINS A LOT OF SLURS THAT I TOOK OUT FOR THE SAKE OF THIS POST

action: filter

action_reason: "Slur detected"

moderators_exempt: true

---

# Remove reported posts

reports: 2

action: remove

action_reason: "Has received 2 reports"

modmail: |

[This {{kind}}]({{permalink}}) by /u/{{author}} was removed via reports. Please investigate and ensure that this action was correct.

---

# Check for Rule 2 violation

type: comment

body: ["mods", "moderators", "banned", "ban me"]

action: report

report_reason: "Check for mod complaint"

---

# ===============================================

# DOXXING FILTERS

# ===============================================

# phone number detected

title+body (regex, includes): ['(?#INT)(\+(?![\s\(]*\d{4})|\b011)[\(\) ._-]{0,3}(9[976]\d|8[987530]\d|6[987]\d|5[90]\d|42\d|3[875]\d|2[98654321]\d|9[8543210]|8[6421]|6[6543210]|5[87654321]|4[987654310]|3[9643210]|2[70]|7|1)\b([\(\) ._-]{0,3}\d){5,14}\b', '(?#NA)\(?\b1?\d{3}[\) ._-]{1,3}\d{3}[ ._-]{1,3}\d{4}\b', '(?#UK)\b(?<!\bu/)(?<!\d\.)0(1\d\d(\s*\d){7}|1\d{3}(\s*\d){6}|1\d1(\s*\d){7}|11\d(\s*\d){7}|2\d(\s*\d){8}|169\s*77(\s*\d){4}|1\d{3}(\s*\d){5}|3\d\d(\s*\d){7}|7\d(\s*\d){8}|8\d\d(\s*\d){6,7})\b']

~body (regex): ['(0118\W+999\W+8[18]1|999\W+119\W+7253)', '(?<=\$)\d+(\.\d\d)?[^\w,.]*[+-][^\w,.]*\d+', '(https?://|www\.)\S*([\(\)._-]{0,3}\d){5}\w*', '000.000.0000', '1024\W+2048', '111.111.1111', '222.222.2222', '281\W+330.8004', '505\W+503.4455', '678.999.8212', '800\W+273.8255', '800\W+799.7233', '999.999.9999', '\d*1\W?2\W?3\W?4\W?5\W?6\W?7\W?8\W?9\d*', '\d{3}\W+555\W\d{4}', '\d{3}\W+867.5309', '\w*\d[\)\s]*=\W*\d\w*']

author:

is_contributor: false

action: filter

action_reason: "Phone number detected [{{match}}]"

modmail: |

[This {{kind}}]({{permalink}}) by /u/{{author}} was removed because it contained a possible phone number. Please investigate immediately. If the user is doxxing, you may want to ban them and [report them to the Reddit admins](http://www.reddit.com/message/compose?to=%2Fr%2Freddit.com&subject=Doxxing%20Report:%20%2Fu%2F{{author}}) immediately.

---

# email address detected

title+body (regex): ['(?!(abuse|help|info|no-?reply|phishing|service|spoof|support)\@)[\w!#$%&\x27*+\-./=?\^\x60{|}~]+\@([\w-]{1,64}\.)+([a-z]{2,16}|xn--[a-z0-9-]{1,60})']

~title+body#whitelist: [okay.address1@example.com, okay.address2@example.com]

action: remove

action_reason: "Email address detected [{{match}}]"

modmail_subject: Doxxing alert!

modmail: |

[This {{kind}}]({{permalink}}) by /u/{{author}} was removed because it contained a possible email address. Please investigate immediately. If the user is doxxing, you may want to ban them and [report them to the Reddit admins](http://www.reddit.com/message/compose?to=%2Fr%2Freddit.com&subject=Doxxing%20Report:%20%2Fu%2F{{author}}) immediately.

---

# REMOVE AND REPORT IP DOXXING

title+body (regex): ['\b(?!(?#RANGES)(10\.|172\.(1[6-9]|2\d|3[01])\.|169\.254\.|192\.168\.)|(?#SINGLES)(1\.0\.0\.1|1\.1\.1\.1|1\.2\.3\.4|8\.8\.4\.4|8\.8\.8\.8|9\.9\.9\.9|127\.0\.0\.1|149\.112\.112\.112|208\.67\.220\.220|208\.67\.222\.222)\b)((25[0-5]|2[0-4]\d|[01]?\d\d?)\.){3}(25[0-5]|2[0-4]\d|[01]?\d\d?)\b']

action: remove

action_reason: "IPv4 address detected [{{match}}]"

modmail_subject: Doxxing alert!

modmail: |

[This {{kind}}]({{permalink}}) by /u/{{author}} was removed because it contained a possible IP address. Please investigate immediately. If the user is doxxing, you may want to ban them and [report them to the Reddit admins](http://www.reddit.com/message/compose?to=%2Fr%2Freddit.com&subject=Doxxing%20Report:%20%2Fu%2F{{author}}) immediately.

---

#removes comments containing certain words

type: comment

THIS PART CONTAINS A LOT OF SLURS THAT I TOOK OUT FOR THE SAKE OF THIS POST

action: filter

report_reason: "Hostile language"

action: remove

---

reddit.com
u/miserabeau — 6 days ago

How to set up auto mod comments

Looking for help setting up auto mod comments like the ones in this sub which provide info about required post title and content length. Thanks in advance

reddit.com
u/clothes-free-life — 7 days ago

Post reviewing agent...

guyss, im thinking of building an agent which sees if the content(text) that a user is going to post is dangerous(abusive, harming) it will not let it post it and even report to the management, what do you guys think?

reddit.com
u/parteeksaini — 8 days ago

Trouble with code regarding user flair

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.)

reddit.com
u/DoveStep55 — 8 days ago

My code doesn't works, it should comment when we use some flair

---

type: submission

flair_text: "Commentaire de Farnell à venir"

comment: |

u/thefarnell est l'administrateur de r/taschereau sur Reddit.

Écrivez-lui en répondant directement à ce commentaire automatique.

comment_stickied: true

reddit.com
u/PeanutInfamous5746 — 12 days ago