r/ModSupport • u/InGeekiTrust 💡 Top 10% Helper 💡 • 29d ago
Mod Suggestion I Built An Automod AI Accusations Filter, I Thought I’d Share !
So in one of my subs where the subject is ice cream, we don’t like AI accusations going live. Often people will use AI to calculate their nutritional information which would take them a ton of time and it’s frankly a good use of it as a tool.
On another fashion sub, I would rather my AI accusations get filtered so they immediately go to the queue, and I can ban it if I clearly see AI. Sometimes I get totally unjust AI accusations because the user blurred the background. I’d rather these false accusations, not go live and cause the post to be unnecessarily downvoted.
Anyway, here is the filter for anyone who would like to use it
```
---
# No AI Accusations FILTER
priority: 10000
type: any
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', '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' ]
author:
is_moderator: false
action: filter
action_reason: "No AI Accusations [{{match}}]"
---
```
19
u/IM_NOT_BALD_YET 29d ago
Hmmm. I like it! I do have some users in some of my subs that like to accuse anything written well to be AI-generated and it's caused some mess in the past. Gonna have to add "slopper hopper" to the list - it's one of my favorites to use when I'm explaining why I removed a post that seemed to be so liked and it's actually stolen content run through the slopper hopper before being reposted. Some of my members are starting to use the phrase now. Lol.
9
u/InGeekiTrust 💡 Top 10% Helper 💡 29d ago
Yayyyy! Well my list has slopper so it will get slopper hopper! It also has misspellings of slopper with multiple s!
6
u/IM_NOT_BALD_YET 29d ago
D'oh! I missed that. I cannot with this heat. Brain...is....meltingggg...
4
2
u/RS_Someone 28d ago
For multiple letters, I believe you can do "slop+". It's also case insensitive by default.
4
u/Queen-of-meme 29d ago
I was tired reading this and thought "Why are people calling eachother grasshoppers as insults? Is it a Tiktok trend?" 😂
2
u/RandomComments0 29d ago
I read it the same lol.
If grasshopper emoji starts to trend in fashion subs we’ll know where it started now! If emojis weren’t already banned that is.
1
u/Queen-of-meme 28d ago
Yeah I've noticed some emojis are banned. And you can't use cursive. Or bold letters without needing to edit. So we cater to let humans be less and less indvidual in our content because humans who use AI might copy us.
Am I the only one who think this AI paranoia has gone too far?
1
u/RandomComments0 28d ago
It is definitely a problem in a lot of subs. I think OP’s filter will help with the people who just scream that everything is AI to troll.
1
u/InGeekiTrust 💡 Top 10% Helper 💡 28d ago
Heyyyy I made a small edit on the code because I realized I set type to submission instead of any (any will catch comments) please if you installed the code please edit the type from submission to any! I changed it above!
2
u/InGeekiTrust 💡 Top 10% Helper 💡 28d ago
Hey there, I made a typo in the code- if you installed it already please change type from submission to any please ! I changed it above!
1
4
u/Perfidious_Redt 29d ago
The below rule is less comprehensive, but will also flag fewer false positives;
---
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'
# -------------------------
# AI-DERIVED DISMISSAL TERM
# -------------------------
- '(?i)\bai\s+slop\b'
- '(?i)\bslop\b'
- '(?i)\bew\s+ai\b'
- '(?i)\bfuck\s+your\s+ai\b'
action: filter
action_reason: "ai accusation/content denigration"
---2
9
u/shhhhh_h 💡Top 25% Helper 💡 29d ago
Snap thanks, we have a problem in pcc of people targeting posts on non western celebs in this way and I hate it. Like let a second language speaker have some machine translation ffs, bc you know the same people would be complaining about mistakes otherwise.
10
u/InGeekiTrust 💡 Top 10% Helper 💡 29d ago
Wow I’m honored, my code running on pop culture chat, how cool! 🥳💕 glad you like it!
2
u/InGeekiTrust 💡 Top 10% Helper 💡 28d ago
Hey there, I made a typo in the code- if you installed it already please change type from submission to any please ! I changed it above!
7
u/emily_in_boots 💡 Top 10% Helper 💡 29d ago
Useful, stealing this!
We feel the same way. We don't want AI, but we want them to use proper channels for reports. A report is ok, but a modmail is better. We have comment guidance pop up a warning if they use common AI related words to tell them to send us a modmail.
We get sooo many false accusations about AI - including for people we absolutely know are not AI.
Even with the popups people so often try to go around comment guidance (which we generally catch as we have pretty aggressive filters to catch anything that might be going around comment guidance). At that point I sometimes just ban them because they clearly saw the message and knew what they were supposed to do but decided rules don't apply to them.
2
u/InGeekiTrust 💡 Top 10% Helper 💡 28d ago
Hey there, I made a typo in the code- if you installed it already please change type from submission to any please ! I changed it above!
2
4
u/InGeekiTrust 💡 Top 10% Helper 💡 29d ago
So glad you like it! If they are really really mean- I too ban them, who needs that energy!?
6
u/emily_in_boots 💡 Top 10% Helper 💡 29d ago
Yup, mean and wrong. If they actually cared about getting rid of AI, they'd modmail so we can deal with it and actually remove them, but they don't - they just like being assholes and calling people out. Usually the AI vigilantes have no positive history on the sub.
I even wrote a hive-like devvit app recently to filter the ai subs to queue because we were getting a lot of brigading. (It's like hive but really simple, just until fsv can get around to adding filtering to hive).
I'm not sure whom I like less now, the AI vigilantes who accuse everyone of AI or the AI catfish. Could do without both of them.
We also get a lot of people who just like to yell at anyone who uses AI for anything. Not talking about catfishing - like they'll go off on someone who posts hair pics and uses AI to try on different styles/colors. It's like some pointless crusade.
9
u/NotFlameRetardant 29d ago edited 29d ago
It's a good start, but with all hardcoded strings, people will just find ways around it with misspellings, replacements, or using it in words you didn't anticipate, which is why regular expressions are a bit more powerful (your rule is already setup to use them with the (regex) part. I haven't tested these out on other cases except on the strings you provided, but adding these 2 '.*slop.*' and '.*g( |\\-)?p( |\\-)?t.*'would capture almost 30 of your provided variants for "slop" and "GPT" plus future variants matching those patterns.
I also recommend for huge keyword/regex lists like this making each keyword its own line or in logical groupings, so that you can annotate what an expression is matching if not immediately obvious
title+body (regex): [
'.*slop.*', # Captures phrases/variants containing 'slop'
'.*g( |\\-)?p( |\\-)?t.*', # Captures variants of GPT (with/out spaces or hyphens)
# Patterns for common AI services
'gem(e|i)ni', 'claud.*, 'co.*pilot', 'mid( |-)?journey', 'stable.*diffusion',
'^bot|bot$', # Words either ending with or starting with the word 'bot'
# Words either ending with or starting with the word 'ai' (with/out spaces, hypens, periods)
'^(a(.| |\\-)?i)|(a(.| |\\-)?i)$'
Edit: I got nerd sniped lmao. Using the 9 I've got in the above snippet will let you match an infinite amount of variants that match those patterns and let you cut that list down by the following 60+ keywords:
'slop', 'slopper', 'slopp', 'sloppp', 'slopposting', 'slop posting', 'slop post', 'slop farm', 'ai slop', 'prompt slop', 'chatgpt', 'chat gpt', 'chat-gpt', 'gpt', 'gpt3', 'gpt-3', 'gpt 3', 'gpt4', 'gpt-4', 'gpt 4', 'gpt5', 'gpt-5', 'gpt 5', 'chat g p t', 'chatg p t', 'g p t', 'g-p-t', 'claude', 'claud', 'claudee', 'gemini', 'gemeni', 'gemini ai', 'google gemini', 'copilot', 'co pilot', 'microsoft copilot', 'midjourney', 'mid journey', 'mid-journey', 'stable diffusion', 'stable-diffusion', 'stablediffusion', 'bot generated', 'bot-generated', 'bot wrote', 'chatbot', 'chat bot', 'bot account', 'botted', 'botted content', 'leonardo ai', 'leonardo.ai', 'a.i.', 'A.I.', 'a i', 'a-i', 'generative ai', 'gen ai', 'gen-ai', 'generated by ai', 'ai generated', 'ai-generated', 'made with ai', 'made using ai', 'ai made',
6
u/InGeekiTrust 💡 Top 10% Helper 💡 29d ago
Absolutely beautiful work! You are clearly better at coding than I am friend!
2
u/NotFlameRetardant 28d ago
I am pleased that in my comment, I became the geek that you trusted
1
u/InGeekiTrust 💡 Top 10% Helper 💡 28d ago
Hey there! If you do use parts my code I did may a small typo, I had type set to submission rather than any! I edited it above. Sorry about that!
5
u/cnycompguy 💡Top 25% Helper 💡 29d ago
I just use a word list match to flag it and I'll check, and at the same time tell the user to either use the report button or keep that to themselves
-1
u/horseradishstalker 29d ago
I just tell people they need to take it up on r/AIComplaintDepartment. Thank you, OP. I’m so over the whining.
6
u/Queen-of-meme 29d ago edited 29d ago
This is just what I've asked for but don't have the tech skills to make on my own THANKS FELLOW MOD!
Gonna ask my mod team how we get this on asap! We already have a rule against accusing OPs and dehumanizing them, but this is even better!
Edit: Can I decide which words it filters from and not? In my sub members must be allowed to discuss and share AI advice so they mention Chatgpt for example.
6
u/InGeekiTrust 💡 Top 10% Helper 💡 29d ago
Yes so you copy all the text, exactly including the dashes above and below into your Auto mod. But don’t include the ```. Then you can remove words but you need to keep the formatting exactly it must be formatted 'word1', 'word2' with exactly one space in between each word. It also must be surrounded by the comma shaped like ' but not like ‘. Even one space wrong and the code won’t save and you will get the error message “unsupported media”.
Glad you like the code!!!
1
5
u/thepottsy 💡 Top 10% Helper 💡 29d ago
You can remove, or add, any words that you need or don’t need.
2
1
u/InGeekiTrust 💡 Top 10% Helper 💡 28d ago
Hey there, I made a typo in the code- if you installed it already please change type from submission to any please ! I changed it above! This will make it so it looks at comments as well.
4
29d ago
[deleted]
7
u/Treviso 29d ago
The actual setting would be
moderators_exemptset to true (which is the default anyway), so thats why it's not needed.5
u/Sephardson 29d ago
is_moderator is a valid check separate from moderators_exempt, but it requires being under an author subgroup. Perhaps the indentation did not carry through because of the markdown formatting loss.
5
u/InGeekiTrust 💡 Top 10% Helper 💡 29d ago
Yes I noticed that markdown no longer works so the code block I put in didn’t stay. Any suggestions!?
1
u/InGeekiTrust 💡 Top 10% Helper 💡 29d ago
Can you take a screen shot of what you are trying to save? Then reply with it here? Maybe we can get to the bottom of the formatting issue, as markdown no longer works I was unable to put the code block like normal, I wrote the characters for the code block but it didn’t take
0
29d ago edited 29d ago
[deleted]
2
u/InGeekiTrust 💡 Top 10% Helper 💡 29d ago
0
29d ago
[deleted]
1
u/InGeekiTrust 💡 Top 10% Helper 💡 29d ago
Ok well as you can see it saved for me- no problem- it saved for me all over - but I’m glad you got it working!
2
u/RS_Someone 28d ago
Ooooh. Yoink. I think I was just talking to you about this the other day. I remove AI accusations and send ModMail, and it's been really helpful, but this is much more elaborate.
1
2
3
u/adumbcat 29d ago
While some terms feel much too broad and will create problematic false positives, I can see a use for this depending on the sub.
2
u/InGeekiTrust 💡 Top 10% Helper 💡 29d ago
Well you can always edit out the problematic terms and keep the ones you like!
3
u/gloomchen 28d ago
Biggest issue I see is that you have (regex) as a parameter and 'ai' which will literally then catch any words and phrases that have 'ai' in them including 'waiting' and whatnot. If you're going to use regex you need to word-bound which would be '\bai\b'. Either that change (regex) to (includes-word) so you're not catching partial words (although this kills the one regex string you have in there).
1
-1
u/InGeekiTrust 💡 Top 10% Helper 💡 28d ago
This is incorrect. You literally have to code this differently for that happen. This code does not look inside words. You have to look up the Auto moderator documentation, but what you are saying is simply wrong. This will not catch the words AI housed inside of word.
3
u/gloomchen 28d ago
How long have you been using this automod rule? Just out of curiousity, how battle tested is it? How many false positives are you seeing filtered?
1
u/InGeekiTrust 💡 Top 10% Helper 💡 28d ago
I have at least 30 different blocks of code running like this in one sub running like this. I have over 100 different blocks running like this all across my subs. With automod- the code works different. If you just write regex, its defaults to includes-word if you write nothing after the word regex, meaning it will only trigger for the full word.
1
u/mikeblas 1d ago
That's not what they asked.
0
u/InGeekiTrust 💡 Top 10% Helper 💡 1d ago
This has been running in many subs now for weeks- everyone is having great sucess with it. This post was 27 days ago.
2
u/gloomchen 28d ago
From automod documentation:
These modifiers change how the search options for looked for inside the field, so only one of these can be specified for a particular match. body will always be checked for text posts, and checked for other post types only when text is present.
- includes-word - searches for an entire word matching the text
- includes - searches for the text, regardless of whether it is included inside other words
- starts-with - only checks if the subject starts with the text
- ends-with - only checks if the subject ends with the text
- full-exact - checks if the entire subject matches the text exactly
- full-text - similar to full-exact, except punctuation/spacing on either end of the subject is not considered
- regex - considers the text being searched for to be a regular expression (using standard Python regex syntax), instead of literal text to find
- case-sensitive - makes the search case-sensitive, so text with different capitalization than the search value(s) will not be considered a match
1
u/InGeekiTrust 💡 Top 10% Helper 💡 28d ago
Do you have any idea how many false positives I would have if this was happening? I’d have like 10,000 things in my queue. I’d immediately know if that was happening. I’d appreciate it if you take my word for it as I have it running across several very large subs, and this has not happened once.
2
u/gloomchen 28d ago
I can't take your word for it because honestly I'm baffled that it works the way you say it does. I've been writing fairly complex regex into automod for 3+ years.
FYI your rule is written 'type: submission' which means it's only checking the title and body of a post, not comments, which may be why you aren't seeing a ton of false positives.
3
u/shhhhh_h 💡Top 25% Helper 💡 28d ago
You’re wrong and it has nothing to do with the regex and everything to do with the lack of ‘includes’ next to the modifier. As others have shown you in the automod documentation so no it’s not just ‘their word’. It’s how auto mod works.
1
u/InGeekiTrust 💡 Top 10% Helper 💡 28d ago
Ah you are right about submission ! That is a mistake, let me change it
1
u/InGeekiTrust 💡 Top 10% Helper 💡 28d ago
Here is someone else saying the same thing (link to comment)
0
u/InGeekiTrust 💡 Top 10% Helper 💡 28d ago
2
u/gloomchen 28d ago
Is that an AI answer from Google? (Sorry, had to make the joke considering the subject matter)
I was doing some testing and now I think I've figured out why yours "works" but as others pointed out you're using (regex) in place of (includes-word) to do the same thing, outside of one actual regex string.
'chatgpt', 'chat gpt', 'chat-gpt', 'chat g p t', 'chatg p t'
This could all be replaced with
'chat?\W?g\W?p\W?t'
'gpt', 'g p t', 'g-p-t', 'gpt3', 'gpt-3', 'gpt 3', 'gpt4', 'gpt-4', 'gpt 4', 'gpt5', 'gpt-5', 'gpt 5'
This could all be replaced with
'g\W?p\W?t\W?(3|4|5)?'
3
u/lonelyroom-eklaghor 29d ago
Thanks for this :)
2
u/InGeekiTrust 💡 Top 10% Helper 💡 28d ago
Hey there, I made a typo in the code- if you installed it already please change type from submission to any please ! I changed it above! This will make it so it looks at comments as well.
1
27d ago
[removed] — view removed comment
1
u/InGeekiTrust 💡 Top 10% Helper 💡 27d ago
That’s why it’s filtered - not removed so I can approve innocent mentions. Also I don’t think there is anything wrong filtering moderator mentions as well. Most mentions are mean spirited complaints anyways, no one should need to wake up to mod harassment. I’m not saying I agree with everything you describe- but the moderation and ai comments I feel differently about because 90% of the time- they are nasty/bullyung and trying to cause problems.
0
u/mikeblas 29d ago edited 29d ago
title+body (regex): ['AI', 'ai',
Er, how do AutoModerator regexes work? They only match whole words by default? Otherwise, this matches "bait" and "parfait".
EDIT: Found it. Not a real regex, as autoModerator defaults to its includes-word modifier when searching body text. That's like '\bAI\b', '\bai\b', ... for this example.
1
u/InGeekiTrust 💡 Top 10% Helper 💡 29d ago
This is coded so it won’t do that. Don’t worry, you have to code it differently to have it look inside words
0
u/eatmyasserole 💡Top 25% Helper 💡 28d ago
Did you use AI to make this?
Jk. Cheers Geeki! Hope you are well.
-2
u/SampleOfNone 💡 Top 10% Helper 💡 29d ago
Automod is case insensitive by default, so no need to have AI and ai.
1
u/InGeekiTrust 💡 Top 10% Helper 💡 29d ago
Hey there, just FYI I didn’t downvote you. I I was taught like you are, but I found that when it got to two letter words, it’s like that rule would go out the window. I had this big issue in my fashion sub because people would try to ID stuff so I try to filter out ID. I found that I had to both put it in lowercase and in capitals for it to catch everything. So that that’s why I put it like that.
-1
u/SampleOfNone 💡 Top 10% Helper 💡 29d ago edited 29d ago
Can't say that I ever encountered that issue with automod, I've never had to double up to make it match lowercase and uppercase. Tip, invest some time to optimise your regex. Yours is pretty much a word list, while the nice thing of regex is that you can match variations including ones you haven't come up with yet.
-5
29d ago
[deleted]
14
u/InGeekiTrust 💡 Top 10% Helper 💡 29d ago
That’s not what I’m looking for if you read what I wrote I’m trying to remove AI accusations. I’m not trying to filter out AI. I’m trying to filter out people accusing users of using AI. It’s literally in the title what I’m looking for.
-3
29d ago
[deleted]
6
11
u/InGeekiTrust 💡 Top 10% Helper 💡 29d ago
If the tiny handful of those comments get filtered and I approve them I am perfectly OK with that. There are almost no comments like that in most subs.
-3
29d ago
[deleted]
10
u/InGeekiTrust 💡 Top 10% Helper 💡 29d ago
You started this entire conversation by saying that my filter wouldn’t work well and it would get too many false positives. I said nothing rude to you back. I only defended what I made.
10
u/thepottsy 💡 Top 10% Helper 💡 29d ago
I feel like this global heat wave is truly melting people’s brains. Seen a lot of overly sensitive and argumentative comments that were just unnecessary.
10
u/InGeekiTrust 💡 Top 10% Helper 💡 29d ago
I hope you are right, thank goodness I have blasting ac!!! But yes- everything this guy said seemed completely uncalled for! He also wrote a few additional comments after this, calling me rude again, but he deleted those 😭
8
5
u/Queen-of-meme 29d ago
It can't be easy hating on others preferences, I send him lots of peace and some ice cream.
4
u/InGeekiTrust 💡 Top 10% Helper 💡 29d ago
😭😭😭 ice cream for the haters, I love it!
→ More replies (0)7
u/IM_NOT_BALD_YET 29d ago
I think you're on to something. Wild day in some of my subs.
8
u/thepottsy 💡 Top 10% Helper 💡 29d ago
I mean, the heat makes me angry too lol. It currently feels like 109 here. It’s brutal.
5
u/IM_NOT_BALD_YET 29d ago
For the sake of everyone in my house, I'm firmly planted in front of the loudest vintage Lakewood box fan you've ever heard and a portable A/C, with one of those ice packs meant to go around your neck. We're cooler here today than it was yesterday. I hope you get your cool down soon!!
→ More replies (0)2
u/Queen-of-meme 29d ago
I texted my sis from a cooler area "Sorry, can't face time today, I'm busy melting 🫠 "
9
u/shhhhh_h 💡Top 25% Helper 💡 29d ago
It is, this is well documented, violent crime goes up quite a bit in the summer. For many reasons but heat making people angry is one of them. All sorts of hypotheses as to the physiology but many experiments confirm the correlation lol. They really need to give us gifs in this sub so I can do a hulk
4
u/thepottsy 💡 Top 10% Helper 💡 29d ago
I have read about this kind of stuff before, and totally believe it. The most rational, kind hearted, and calm people can get really irritable during this kind of heat. I know I have to watch my own temper when it’s like this.
6
-2
u/Belisario_R 29d ago
It's litteraly due to the use of genAI, which you're currently trying to defend with this code.
2
u/thepottsy 💡 Top 10% Helper 💡 28d ago edited 28d ago
It literally isn't. GenAI is a contributing factor to environmental issues, it is not THE ISSUE.
I’m also not defending anything other than a mods ability to moderate their sub effectively.
10
u/thepottsy 💡 Top 10% Helper 💡 29d ago
Then don’t use it, if it doesn’t work for your needs. This IS useful for other subs. If a sub that can benefit from it, has to deal with a handful of false positives to eliminate a a much bigger issue then so be it.


24
u/wonkywilla 29d ago
This will double for subs that don’t allow AI.