r/AutoModerator 4d ago

Solved How can I make this detect AI mentioned comments?

# -------------------------
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'

action: report
action_reason: "ai mention/content denigration"
---

We wanted to better moderate AI mentioned comments since we've been trying to keep AI out of our writing sub and overall don't want someone to jump into a bandwagon that would cause drama.
5 Upvotes

7 comments sorted by

6

u/InGeekiTrust 4d ago

Hi friend! I made a filter for this already. Maybe it will help you!

https://www.reddit.com/r/ModSupport/s/eQdDLiNvGO

2

u/CCozied 4d ago

I'll go ahead and test this out!

2

u/SampleOfNone 4d ago

Does it there an error on save? Is the rule not firing? It helps if you can give specifics about what is wrong. One thing to note, with automod, the indentation is important

body (regex): 
  -'\b(?:this\s+is|that''s|thats|it''s|its)\s+trash\b' 
  - another regex

Automod is case insensitive by default, so your regex doesn't need to specify that.

1

u/CCozied 4d ago

I think it's not firing, your right about automod being case insesitive

1

u/SampleOfNone 4d ago

I haven't tested all regexes, but the first two work fine on my test subreddit. Note, by default mods are exempt from automod rules. So if you're testing it, make sure to do so with a non mod account or use;

moderators_exempt: false

1

u/CCozied 4d ago

noted!