Library of common rules - Neo edition

New to automod Neo, and unsure how to write a rule? Check out this collection of rules, good chance it has the one you need.

Introduction and General Notes

  1. If you haven't yet, you first need to install Automod Neo on your subreddit from https://developers.reddit.com/apps/automod-neo
  2. Mods need "everything" permission to be able to install Devvit apps.
  3. Neo documentation can be found on https://github.com/fsvreddit/automod-neo/blob/main/documentation.md Read through it, but don't worry if you have trouble understanding it fully. Just having read through it helps a lot.
  4. Neo changelog can be found on https://github.com/fsvreddit/automod-neo/blob/main/changelog.md
  5. if you have a test subreddit you want to use for testing rules, don't forget to add 'moderators_exempt: false' to your rule (or use a non mod useraccount)
  6. Most old automoderator rules work just fine in Automod Neo. So if you found one somewhere that suits your needs, go ahead and just copy - paste it in you Neo config
  7. Neo can send warnings to mods when a regex is written in a way that takes to long to evaluate. Some rules come with a back-up regex you can replace it with if that happens.
  8. Try to resist the temptation to add rules before there's evidence they're needed!

Sticky comment on submissions

---
friendly_name: Sticky comment on submissions
# This rule adds a sticky comment on every post 
type: submission
is_edited: false
comment_stickied: true
comment: |
    The text of the comment goes here.

    Put the same number of spaces at the beginning of each comment line.

    If you want separate paragraphs, keep the empty lines between each paragraph (AutoMod Neo uses [Markdown](https://www.reddit.com/wiki/markdown#wiki_quick_reference) formatting).
---

Sticky comment on submissions if post has a specific post flair

---
friendly_name: Sticky comment on submissions if post has a specific post flair
# This rule only applies if the post is submitted with one of the listed flairs at the time of submission and skips edited posts
# You can change flair_text to ~flair_text if you want to reverse the flair check and only reply to submissions that are not flaired with one of the listed flairs.
type: submission
is_edited: false # Don't act again if the post is edited
flair_text (includes-word): ["Flair1", "Flair2"] 
comment_stickied: true
comment: |
  The text of the comment goes here (more explanation in the previous rule).
---

Domain Blacklist

---
friendly_name: Domain Blacklist
# Prevent websites from being linked to or mentioned anywhere on your subreddit. Useful for banning phishing, spamming, or other malicious sites.
# The use of action: spam removes the content and trains your subreddit spam filter to catch similar sites in the future. If you want to see these posts in your modqueue so you can ban these accounts, change action: spam to action: filter.
# If the Domain Whitelist rule is also being used, remove domain+ from the first line of the rule because the Domain Whitelist rule handles submissions with a domain more broadly.
# If you use a Domain Blacklist, it is a good idea to also use the URL Shortener Blacklist to prevent users from circumventing the blacklist with URL shorteners.
# Replace the list between the brackets with your own list of sites to ban.
domain+body+title: [badwebsite1.com, badwebsite2.com, badwebsite3.com]
action: spam
action_reason: "Spam domain [{{match}}]"
---

Domain Whitelist

---
friendly_name: Domain Whitelist
# Only allow submissions to certain websites.
# If you are also using the Domain Blacklist rule, replace "domain+body+title:" with "body+title:" the first line of that rule because this rule handles submissions with a domain more broadly (i.e., removes more domains).
# Replace the list between the brackets with your own list of approved domains.
# If you want to allow self posts (text posts), you can either add a domain of self.subredditname (replace subredditname with the name of your subreddit) or add the line type: link submission.
~domain: [site1.com, site2.com, site3.com]
action: remove
action_reason: "Unapproved domain [{{domain}}]"
comment: |
    Your submission was automatically removed because {{domain}} is not an approved site.
---

Domain Un-Spam List

---
friendly_name: Domain Un-Spam List
# This approves submissions to known safe sites so they won't be caught in the spam filter. Note, it will not approve domains that are site wide hard banned by Reddit:
domain: [site1.com, site2.com, site3.com]
action: approve
action_reason: "Unspam domain [{{match}}]"
---

Regex domain allowlist

---
friendly_name: Regex domain allowlist
# regex whitelist domains. Allows Reddit links and the domains you specify. 
# ~author allows trusted users to comment or post links other then the whitelisted domains. remove that line if you don't want or need that
Domain+url+body+title (regex): '(https?:\/\/(?![^\/\s]+\.(?-i:It[ ''‘’´`]))|www\.|(?=\b[^\/\s.]+\.)(?<![\.\-])(?=[^\/\s]+\.((com?|org|net|gov|edu)\b|[a-z]{2,6}\/)))(?![^\/\s]*\b(?<!-)(reddit\.com|redd\.it|DOMAIN1\.org|DOMAIN2\.com|DOMAIN3\.co\.uk)\b(?!\.))[\w\.\-]+'
~author: [USER1, USER2]
action: remove
action_reason: domain is not whitelisted [{{match}}]
---

Subreddit Blacklist

---
friendly_name: Subreddit Blacklist
# Prevent certain subreddits from being linked to anywhere on your subreddit.
# Replace the subreddit lists with your own list of subreddits to ban.
# Change either or both rules from remove to filter if you want these submissions to be added to the moderation queue to allow a moderator to review the post or the account making the post.
# The third removal rule is to prevent the use of short link formats to circumvent the subreddit blacklist.
domain+url+body: [r/badsubreddit1, r/badsubreddit2]
message_subject: A note from /r/{{subreddit}} about your {{kind}}
message: |
    Your submission was automatically removed because that is a disallowed link subreddit.
action: remove
action_reason: "Bad subreddit [{{match}}]"
---

Regex subreddit Blacklist

---
friendly_name: Regex subreddit Blacklist
#Use this to catch all r/links except the ones named. Don't forget to include your own subreddit!
# The (?!...) is a regex syntax called Negative Lookahead, meaning- "only match if what's before the parenthesis isn't directly followed by what's inside the parenthesis (after the ?!)"
title+body+url (regex, includes-word): 'r/(?!SUBREDDIT1\b|SUBREDDIT2\b|SUBREDDIT3\b)\w+'
action: remove
action_reason: Mentioning/linking to another subreddit [{{match}}]
---

Remove crossposts from disallowed subreddits

---
friendly_name: Remove crossposts from disallowed subreddits
type: crosspost submission
crosspost_subreddit:
    name: [bannedsubreddit1, bannedsubreddit2]
message: |
    Your submission was automatically removed because that is a disallowed crosspost subreddit.
action: remove
action_reason: "Crosspost from a disallowed subreddit"
---

Remove crossposts from disallowed subreddits (regex)

---
friendly_name: Remove crossposts from disallowed subreddits (regex)
domain+url+body (regex): ['redd\.it/\w+', 'reddit\.com/comments/\w+']
action: remove
action_reason: "Reddit short link [{{match}}]"
message_subject: A note from /r/{{subreddit}} about your {{kind}}
message: |
    Your {{kind}} in /r/{{subreddit}}) was automatically removed. Short links are not permitted in /r/{{subreddit}} as they impair our ability to enforce link blacklists.
---

Only allow crossposts from whitelisted subreddits

---
friendly_name: Only allow crossposts from whitelisted subreddits
# Crosspost Whitelist
# These rules will remove crossposts and link posts to subreddits that are not whitelisted.
type: crosspost submission
crosspost_subreddit:
    ~name: [approvedsubreddit1, approvedsubreddit2]
message_subject: A note from /r/{{subreddit}} about your {{kind}}
message: |
    Your submission was automatically removed because that is not an approved crosspost subreddit.
action: remove
action_reason: "Crosspost from unapproved subreddit"
---

Only allow link posts to whitelisted subreddits

---
friendly_name: Only allow link posts to whitelisted subreddits
# Crosspost Whitelist
# These rules will remove crossposts and link posts to subreddits that are not whitelisted.
type: link submission
url (regex): ['reddit\.com/r/(?!approvedsubreddit1\b|approvedsubreddit2\b)']
message_subject: A note from /r/{{subreddit}} about your {{kind}}
message: |
    Your submission was automatically removed because that is not an approved link subreddit.
action: remove
action_reason: "Link post to an unapproved subreddit"
---

Reddit short link removal

---
friendly_name: Reddit short link removal
# Prevent short link formats from circumventing the subreddit/domain blacklist.
domain+url+body (regex): ['redd\.it/\w+', 'reddit\.com/comments/\w+']
action: remove
action_reason: "Reddit short link [{{match}}]"
message_subject: A note from /r/{{subreddit}} about your {{kind}}
message: |
    Your {{kind}} in /r/{{subreddit}}) was automatically removed. Short links are not permitted in /r/{{subreddit}} as they impair our ability to enforce link blacklists.
---

URL Shortener Ban

---
friendly_name: URL Shortener Ban
# Use alongside the Domain Blacklist rule to prevent blacklist circumvention via shorteners.
domain+body+title: ['http://redd.it', 'https://redd.it', 0rz.tw, 1jl.info, 1link.in, 1un.fr, 1url.com, 1url.cz, 1wb2.net, 2.gp, 2.ht, 2big.at, 2doc.net, 2fear.com, 2pl.us, 2tu.us, 2u.xf.cz, 2ya.com, 3.ly, 3x.si, 4ms.me, 4sq.com, 5z8.info, 6g6.eu, 7.ly, 7li.in, 8u.cz, a.co, a.gg, a.nf, a0.fr, a2n.eu, aa.cx, abbrr.com, abnb.me, ad-med.cz, ad.vu, ad5.eu, ad7.biz, adb.ug, adcraft.co, adcrun.ch, adf.ly, adfa.st, adflav.com, adjix.com, adv.li, afx.cc, aka.gr, alturl.com, amzn.to, any.gs, app.link, app.x.co, apple.news, ar.gy, asso.in, atu.ca, azc.cc, b23.ru, b2l.me, b54.in, b65.us, bc.vc, bcool.bz, beam.to, bee4.biz, bfy.tw, bigly.us, bim.im, binged.it, bit.do, bit.ly, bitly.com, bitw.in, bizj.us, bkite.com, bl.ink, blap.net, ble.pl, blip.tv, bote.me, bougn.at, bravo.ly, brk.to, brzu.net, bsa.ly, bst.is, budurl.com, buff.ly, burnurl.com, bv.ms, bxl.me, bzh.me, canurl.com, cbug.cc, cc.cc, cektkp.com, cf2.me, cf6.co, chilp.it, chzb.gr, cjb.net, cl.ly, clck.ru, cli.gs, cli.re, cliccami.info, clickmeter.com, clickthru.ca, clikk.in, clk.im, clnk.in, cnn.it, conta.cc, cort.as, cot.ag, crisco.com, crks.me, crwd.cr, ctvr.us, cur.lv, cutt.eu, cutt.ly, cutt.us, cuturl.com, cybr.fr, cyonix.to, dai.ly, db.tt, dd.ma, decenturl.com, dfl8.me, dft.ba, digbig.com, digg.com, disq.us, dld.bz, dlvr.it, do.my, dopice.sk, doshort.com, droid.ws, dwarfurl.com, dy.fi, dyo.gs, easyurl.com, easyurl.net, ebay.to, ecra.se, eepurl.com, erw.cz, esyurl.com, eweri.com, exe.io, ezurl.cc, fa.by, fav.me, fb.me, fbshare.me, ff.im, fhurl.com, filoops.info, filz.fr, fire.to, firsturl.de, firsturl.net, fivr.me, flic.kr, flq.us, fly2.ws, freze.it, fur.ly, fvrr.co, fwd4.me, fwib.net, g.co, g00.me, geniuslink.com, get-shorty.com, gg.gg, gizmo.do, go.9nl.com, go.ign.com, go.usa.gov, go2.me, go2cut.com, golinks.co, goo.gl, goshrink.com, gowat.ch, gurl.es, hellotxt.com, hex.io, hide.my, hiderefer.com, hit.my, hmm.ph, hops.me, hover.com, href.li, hsblinks.com, ht.ly, htxt.it, hubs.ly, huff.to, hurl.it, hyperurl.co, icit.fr, ick.li, icks.ro, idek.net, ift.tt, iguang.tw, iiiii.in, iky.fr, ilix.in, is.gd, iscool.net, itm.im, ity.im, ix.lt, ix.sk, j.gs, j.mp, jdem.cz, jmp2.net, jqw.de, just.as, kask.us, kd2.org, kfd.pl, kissa.be, korta.nu, kr3w.de, kratsi.cz, krod.cz, krunchd.com, kuc.cz, l-k.be, l9.fr, l9k.net, labb.in, lat.ms, lc-s.co, lc.cx, lemde.fr, libero.it, liip.to, liltext.com, linkbun.ch, linkto.im, linktr.ee, linx.cf, llu.ch, lnk.co, lnk.ms, lnk.sk, lnkd.in, lnks.fr, lru.jp, lt.tl, m3mi.com, macte.ch, mailchi.mp, mcaf.ee, mdl29.net, merky.de, metamark.net, mic.fr, migre.me, mke.me, mktw.net, moby.to, mol.im, moourl.com, more.sh, mrte.ch, myurl.in, mz.cm, n.pr, nanoref.com, nbc.co, nblo.gs, net46.net, nicou.ch, nig.gr, not.my, notlong.com, nov.io, nq.st, nsfw.in, nutshellurl.com, nyti.ms, o-x.fr, oc1.us, okok.fr, on.mktw.net, onelink.me, onforb.es, oua.be, ow.ly, oze.io, p6l.org, parky.tv, past.is, ph.ly, picz.us, pin.st, ping.fm, plots.fr, pm.wu.cz, po.st, politi.co, poprl.com, post.ly, posted.at, ppt.cc, ppt.li, prettylinkpro.com, ptiturl.com, ptm.ro, pub.vitrue.com, q.gs, qbn.ru, qicute.com, qlnk.net, qqc.co, qqurl.com, qr.ae, qr.net, qrtag.fr, qte.me, quip-art.com, qxp.sk, qy.fi, r.im, rb.gy, rb6.me, read.bi, readthis.ca, redirects.ca, redirx.com, redu.it, ref.so, relink.fr, reut.rs, rite.link, rsmonkey.com, rt.nu, rurl.org, rx.hu, s-url.fr, safe.mn, sagyap.tk, scrnch.me, sdu.sk, sdut.us, sh.st, shar.as, shar.es, sharein.com, sharetabs.com, shink.de, shor.by, shorl.com, short.cm, short.pk, short.to, shorte.st, shorten.me, shortenurl.com, shorterlink.com, shortn.me, shortna.me, shorturl.at, shorturl.com, show.my, shredurl.com, shrinke.me, shrinkify.com, shrinkr.com, shrinkurl.us, shrt.fr, shrt.in, shrten.com, shrtnd.com, shurl.net, sicax.net, simurl.com, sina.lt, skroc.pl, slate.me, smallr.com, smarturl.it, smsh.me, snip.ly, snipr.com, snipurl.com, snsw.us, snurl.com, soo.gd, sq6.ru, sqrl.it, srnk.net, starturl.com, sturly.com, surl.co.uk, surl.me, sy.pe, t.cn, t.co, t.lh.com, t.me, t2m.io, tabzi.com, tcrn.ch, tdjt.cz, tgr.ph, thn.li, tighturl.com, tiks.co, tin.li, tiny.cc, tiny.lt, tiny.pl, tiny.tw, tinyarrows.com, tinylink.com, tinylink.in, tinyurl.com, tinyurl.hu, tl.gd, tldr.sk, tmi.me, tnw.to, tny.com, tny.cz, to.ly, to8.cc, togoto.us, tohle.de, tpmr.com, tprt.co, tr.im, tr5.in, tra.kz, traceurl.com, trck.me, trunc.it, tweetburner.com, tweez.me, twet.fr, twhub.com, twirl.at, twitclicks.com, twitterpan.com, twiturl.de, twurl.cc, twurl.nl, tyn.ee, u.mavrev.com, u.nu, u.to, u6e.de, ug.cz, ukl.me.uk, upzat.com, ur1.ca, url.ie, url.lotpatrol.com, url4.eu, url4u.co, url5.org, urladda.com, urlao.com, urlborg.com, urlcut.com, urlcutter.com, urlhawk.com, urlin.it, urlpire.com, urls.fr, urls.tn, urltea.com, urlx.ie, urlz.fr, usat.ly, utfg.sk, v.gd, v.ht, vaza.me, vbly.us, vd55.com, verd.in, vgn.am, vgn.me, viralurl.biz, viralurl.com, virl.ws, vm.lc, vov.li, vrl.to, vt802.us, vur.me, vurl.bz, vurl.com, vzturl.com, w1p.fr, w55.de, wa.link, wa.me, waa.ai, wapo.st, wb1.eu, web99.eu, wed.li, win.gy, work.ink, workink.co, wp.me, wu.cz, ww7.fr, x.co, x.vu, x2c.eu, xaddr.com, xav.cc, xil.in, xl8.eu, xoe.cz, xr.com, xrl.in, xrl.us, xtu.me, xurl.es, yatuc.com, yeca.eu, yfrog.com, yhoo.it, yiyd.com, yogh.me, youfap.me, yourls.org, yourname.shim.net, ysear.ch, yuarel.com, yweb.com, yyv.co, z0p.de, z9.fr, zapit.nu, zeek.ir, zi.ma, zi.mu, zi.pe, zip.net, zud.me, zurl.ws, zxq.net, zz.gd, zzb.bz]
action: remove
action_reason: "URL shortener [{{match}}]"
message: "Your {{kind}} has been removed because you used a URL shortener ({{match}}). Please only use direct and full-length URLs."
---

Crowdfunding

---
friendly_name: Crowdfunding
# filter known crowedfunding urls
body+domain+title+url: [begslist.com, booster.com, cash.app, cash.me, charityvest.org, crowdfunder.co.uk, crowdrise.com, donorschoose.org, firstgiving.com, fnd.us, fundanything.com, fundly.com, fundrazr.com, generosity.com, gf.me, gfwd.at, givealittle.co.nz, giveforward.com, givesendgo.com, gofund.me, gofundme.com, goget.fund, gogetfunding.com, igg.me, indiegogo.com, justgiving.com, kck.st, ketto.org, kickbooster.me, kckb.st, kickstarter.com, launchfinance.com.au, m-lp.co, patreon.com, payfriendz.me, payit2.com, payitsquare.com, paypal.com/cgi-bin, paypal.com/paypalme, paypal.me, petcaring.com, pitchfuse.com, redditmade.com, sponsorchange.org, tilt.com, tilt.tc, totalgiving.co.uk, youcaring.com, youcaring.net, youcaring.org]
action: filter
action_reason: "Crowdfunding [{{match}}]"
---

Petitions

---
friendly_name: Petitions
# filter known petition urls
body+title: [act.rootsaction.org, actblue.com, action.sumofus.org, activism.thenation.com, avaaz.org, change.org, chn.ge, chng.it, credomobilize.com, demandprogress.org, easypolls.net, go.berniesanders.com, gopetition.com, leftaction.com, moveon.org, petitions.whitehouse.gov, signon.org, startjoin.com, strawpoll.me, takepart.com, thepetitionsite.com, watchdog.net]
action: remove
action_reason: "Petition [{{match}}]"
comment: "Your {{kind}} has been removed. Petitions aren't allowed here."
---

Surveys and Polls

---
friendly_name: Surveys and Polls
# filter known petition urls
body+title+url (regex): ['(dashpoll|midzy|qualtrics|typeform)\.com', '[\w.-]*(strawpoll|survey)[\w.-]*\.(com?|me|uk)(\.[\w-]+)*', 'crowdsignal\.com', 'docs\.google\.com/(a/[^/]+/)?forms(?=/)', 'forms\.gle', 'instant\.ly', 'reddit\.com/poll', 'survey\.fm', 'survey\.zohopublic\.com', 'survio\.com', 'wufoo\.com/forms']
action: remove
action_reason: "Survey link [{{match}}]"
comment: "Your {{kind}} has been removed. Surveys and polls aren't allowed here."
---

Standard conditions

---
friendly_name: Standard conditions
# the available standard conditions are:
# - image hosting sites - will match link submissions from common image hosting domains
# - direct image links - will match link submissions that link directly to image files (PNG, JPG, GIF, GIFV)
# - video hosting sites - will match link submissions from common video hosting domains
# - streaming sites - will match link submissions from common streaming domains
# - crowdfunding sites - will match link submissions from common crowdfunding domains
# - meme generator sites - will match link submissions from common meme-generator sites
# - facebook links - will match submissions or comments including links to Facebook
# - amazon affiliate links - will match submissions or comments including Amazon links with an affiliate code
standard: image hosting sites
action: remove
---

Video in post

---
friendly_name: video in post
# Media in posts
# Image uploads can be detected by using domain: "i.redd.it".
# Video uploads can be detected by using domain: "v.redd.it".
# Both Images and Videos can be detected together using domain: ["i.redd.it", "v.redd.it"]
# sepcial note about gallery posts. If any post+media rule works but doesn't trigger on gallery posts, duplicate the rule and replace "submission" with "gallery submission"
type: submission
domain: "v.redd.it"
action: remove
action_reason: video [{{match}}]
message_subject: A note from /r/{{subreddit}} about your {{kind}}
message: |
    Hi {{author}},
    Sorry, we don't allow videos on this subreddit
---

Reddit gif

---
friendly_name: reddit gif
# removes posts with reddit gif
type: submission
url+body (regex): ['i\.redd\.it/\w+.gifv?', '!\[gif\]']
action: remove
action_reason: Reddit GIF [{{match}}]
message_subject: A note from /r/{{subreddit}} about your {{kind}}
message: |
    Hi {{author}},
    Sorry, we don't allow videos on this subreddit and that includes .gif
---

Remove accidental AMAs

---
friendly_name: Remove accidental AMAs
# Any post with 'AMA' or "ask me anything" in the title gets automatically transfomred into an AMA post
# Fill in the manes of users that are allowed to hold an AMA on your sub
title+body: [AMA, 'ask me anything']
author:
    ~name: [username1, username2, username3]
action: remove
action_reason: "Contains the word: {{match}}"
message_subject: "A note from /r/{{subreddit}} about your {{kind}}"
message: |
    Hi u/{{author}}, thanks for your contribution but you're not approved to hold an “AMA/Ask Me Anything” on this subreddit 
---

Post with more then 5 images

---
friendly_name: Post with more then 5 images
# removes posts that contain more then 5 images
type: submission
image_count: '> 5'
action_reason: "more then 5 images in the post"
action: remove
message_subject: A note from /r/{{subreddit}} about your {{kind}}
message: |
    Hi u/{{author}}, please don't add more then 5 images to a post. Thanks!
---

Embedded Media in text posts

---
friendly_name: Embedded Media in text posts
# To detect embedded images check for ![img] in the body and for videos check for ![video] (for regex rules it's '!\[img\]' and '!\[video\]') || edit: also ![gif] / !\[gif\
body (includes, regex): '!\[(img|video|gif)\]'
action: remove
action_reason: embedded media [{{match}}]
message_subject: A note from /r/{{subreddit}} about your {{kind}}
message: |
    Hi {{author}},
    Sorry, we don't allow embedded media
---

Remove comments with media on posts with a specific flair

---
friendly_name: remove comments with media on posts with a specific flair
# media in comments
# You can disable media in comments in your subreddit settings.
# use these rules in combination with parent_submission for example when you want to dissallow comments with images on certain posts.
#You can replace (img|gif) with (img) or (gif) if you would like to target just one or the other.
type: comment
body (includes, regex): ['!\[(img|gif)\]\(((?!emote|static_png|giphy)[-\w\|]+)\)']
parent_submission:
    flair_text (includes-word): ["Flair1", "Flair2"]
action: remove
action_reason: mdia upload [{{match}}]
message_subject: A note from /r/{{subreddit}} about your {{kind}}
message: |
    Hi {{author}},
    Sorry, we don't allow media in commets on posts with flair1
---

Remove only comments with giphy for post with a specific flair

---
friendly_name: remove only comments with giphy for post with a specific flair
# remove comments that contain giphy gifs on posts with a specific flair
type: comment
body (regex, includes): ['!\[(?:gif|img)\]\(((giphy\|)+[^\|\)]+(?:|\|[^\|\)]+))\)']
parent_submission:
    title (includes): 'red'
action: remove
action_reason: giphy [{{match}}]
message_subject: A note from /r/{{subreddit}} about your {{kind}}
message: |
    Hi {{author}},
    Sorry, we don't allow giphy on posts tiltes that include 'red'
---

Reserve Certain Keywords for mods only

---
friendly_name: Reserve Certain Keywords for mods only
# removes posts with specific words that are only allowed by mods
title (regex): ['admin(istrator)?s?', 'announcements?', 'mega\W?(post|thread)s?', 'mod(erator)?(\W?post)?s?']
author:
    is_moderator: false
action: remove
action_reason: "Moderator-only title [{{match}}]"
comment: |
    Your post has been automatically removed because you used a keyword which is reserved for the subreddit moderators.
modmail: |
    The above post by /u/{{author}}, with title [{{title}}] was removed because it contained a moderator-only keyword [{{match}}]

    Please investigate and make sure that this action was correct.
---

Account age limit

---
friendly_name: account age limit
# user limit based on account age
author:
    account_age: "< 1 days"
action: remove
action_reason: "New user, u/{{author}}"
message_subject: A note from /r/{{subreddit}} about your {{kind}}
message: |
    Hi {{author}},
    For safety and security reasons, newish redittors cannot participate here. 
---

Negative karma limit

---
friendly_name: negative karma limit
# user limits based on negative karma
author:
    comment_karma: "< -50"
action: remove
action_reason: "Low karma user, u/{{author}}"
---

Combined karma and age limit for comments

---
friendly_name: combined karma and age limit for comments
# is submitter allows comments by OP on their own post
# Satisfy_any_threshold: true means OR. In this rule users with an account age of less then 5 days OR have less then 5 combined subreddit karma will have their comments removed
author:
    is_submitter: false
    account_age: '< 5'
    combined_subreddit_karma: '< 5'
    Satisfy_any_threshold: true
action: remove
action_reason: "New user, u/{{author}}"
message_subject: A note from /r/{{subreddit}} about your {{kind}}
message: |
    Hi {{author}},
    For safety and security reasons, redditors that are newish cannot participate here yet
---

Only allow posts by users with a specific flair

---
friendly_name: only allow posts by users with a specific flair
type: submission
author:
    ~flair_text(includes): ["specific flair"]
moderators_exempt: false
action_reason: "u/{{author}} doesn't have required flair"
action: remove
comment: |
    "Hey {{author}}, your post has been removed because you're not an approved user."
---

Only allow posts by users that are approved

---
friendly_name: only allow posts by users that are approved
# Removes unapproved users posts
type: submission
author:
    is_contributor: false
action: remove
action_reason: Not approved submitter
moderators_exempt: false
comment_locked: true
comment_stickied: true
comment: |
    Sorry, u/{{author}}, but you aren't an approved submitter on r/{{subreddit}}. Only approved submitters are allowed to post here. Sorry! 
---

Flair that is only allowed on specific day of the week

---
Friendly_name:  Flair that is only allowed on wednesday
# You can have rules that apply based on what day it is
type: submission
~day_of_week: ["Wednesday"]
flair_template_id: 'copy/paste the flair ID here' # go to "look and feel" in the subreddit settings, click on the post flait and select copy ID
action: remove
Action_reason: It's not wednesday
message_subject: A note from /r/{{subreddit}} about your {{kind}}
message: |
    Hi {{author}},       
    Posts with flair {{match}} are only allowed on wednesday!
---

Comments on older posts

---
friendly_name: comments on older posts
# filter comments made on posts older then X
type: comment
parent_submission:
    age: '> 4 weeks'
Action_reason: comment on post oderl the 4 weeks
action: filter
---

Send users without flair a one time message

---
friendly_name: Send users without flair a one time message
# to promote user flair, you can send a one time message to users who don't have a user flair. 
author:
    ~flair_css_class (regex): ".+"
    set_flair: ["","default"]
message_subject: "Welcome to /r/{{subreddit}}."
message: |
    Hey {{author}}, Welcome to /r/{{subreddit}}.

    You commented, but we notice you don't have a flair set.  If you need any help with this, send a [modmail](https://www.reddit.com/message/compose?to=%2Fr%2F{{subreddit}}).    
---

User flair "ban"

---
friendly_name: Flair "ban"
# If a user keeps setting inappropriate flair, use this rule to "flair ban" them.
#Replace the list between the brackets in the "name" line with your list of users to flair-ban.
# Note: this rule will clear their flair every time they participate in the subreddit. It will not prevent them from changing their flair again afterwards (Reddit does not provide any way to do that). This only makes it annoying and time-consuming for the user to maintain an inappropriate flair.
author:
  name: [username1, username2, username3]
    flair_text (regex): ['.+']
    set_flair: ["", "_"]
overwrite_flair: true
---

Bans words from user flairs

---
friendly_name: Bans words from user flairs
# Use this rule to "ban" words from being used in user flair
#Replace the list between the brackets in the "name" line with your list of users to flair-ban.
# Note: this rule will clear their flair every time they participate in the subreddit. It will not prevent them from changing their flair again afterwards (Reddit does not provide any way to do that). This only makes it annoying and time-consuming for the user to maintain an inappropriate flair.
author:
  flair_text (includes-word): ["badword1", "badword2", "profanity"]
action: remove
action_reason: "User has a restricted word in their user flair: {{author_flair_text}}"
comment: |
  Your post/comment was removed because your **user flair** contains a restricted or prohibited word. Please update your flair to comply with subreddit rules.
---

Filter and send modmail if anything gets reported

---
friendly_name: filter and send modmail if anything gets reported
# reports
reports: 1
action: filter
action_reason: 1 report
modmail_subject: "Report 1"
modmail: The above **{{kind}}**, by /u/{{author}} , title; [{{title}}] , body; [{{body}}] has received 1 report and has been filtered, please investigate.
---

Remove and send modmail for anything that has 2 reports

---
friendly_name: Remove and send modmail for anything that has 2 reports
# reports
reports: 2
action: remove
action_reason: 2+ reports
modmail_subject: "Report 2"
modmail: The above **{{kind}}**, by /u/{{author}} , title; [{{title}}] , body; [{{body}}] was automatically removed due to receiving 2+ reports. Please verify that this action was correct.
---

Example rule for a specific report reason

---
friendly_name: Rule for a specific report reason
# make sure the report reason matches exactly, the phrase used here is an example and not a reddit report reason.
type: submission
is_nsfw: true
user_report_reason: 'not tagged NSFW'
comment: |
    This post is flaired NSFW. If you see this post unblurred, check your account and/or phone settings.
---

Approve reported content from Automod Neo

---
friendly_name: approve reported content from Automod Neo
# Let it send a modmail. Doesn't happen often, but if the config has been sabotaged you want to know
author:
    name: ["automod-neo"]
reports: 1
moderators_exempt: false
action: approve
modmail_subject: Reported automod-neo content
modmail: The above **{{kind}}**, by /u/{{author}} , title; [{{title}}] , body; [{{body}}] was automatically approved after being reported.
---

Set crowd control level based on key words

---
friendly_name: set crowd control level based on key words
# This rule can adjust the crowd control level on a post to be different from the default setting of your subreddit
title+body (includes-word): ['word1', 'word2']
set_post_crowd_control_level: STRICT
---

Set crowd control level based on post flair

---
friendly_name: set crowd control level based on post flair
# This rule can adjust the crowd control level on a post to be different from the default setting of your subreddit
title+body (includes-word): ['word1', 'word2']
set_post_crowd_control_level: STRICT
---

Filter crowd control collapsed comments to the queue

---
friendly_name: filter crowd control collapsed comments to the queue
# If you use Neo rules to set the crowd control levels to strict on some posts, you can use this rule to then filter collapsed comments to the queue
type: comment
comment_crowd_control_collapsed: true
action: filter
action_reason: Comment collapsed by crowd control [{{author}}]
---

Force all comments on a post to be in ALL CAPS when the title of the post is in ALL CAPS (including an all caps "I'm a bot... footer")

---
friendly_name: part A, ALL CAPS title or body, sticks a comment on the post that all comments have to be in ALL CAPS
# Instead of removing ALL CAPS posts, require comments on such posts to be ALL CAPS as well
# the - - -  divides the comment from the standard "I'm a bot" footer. Note, the bot footer will be in all caps as well
type: submission
title+body (case-sensitive, full-text, regex): ['([A-Z0-9]|\W)+']
comment: |
    ATTENTION!
    AS REQUESTED BY u/{{author_uppercase}} , ALL-CAPS ENFORCEMENT HAS BEEN ENABLED ON THIS POST. NO LOWERCASE LETTERS WILL BE PERMITTED IN THIS COMMENT SECTION. 
   
    - - - 

comment_stickied: true
uppercase_footer: true
moderators_exempt: false
---
friendly_name: Part B, No ALL CAPS comment on an ALL CAPS post. 
# Removes Non ALL CAPS comments on posts and leaves a comment in ALL CAPS
# Change 'comment:' to 'message:' once users had their fun testing it out.
type: comment
parent_submission: 
    title+body (case-sensitive, full-text, regex): ['([A-Z0-9]|\W)+']
body (includes, regex, case-sensitive): ['[a-z]']
moderators_exempt: false
comment: |
    u/{{author_uppercase}}, OP ASK FOR ALL COMMENTS TO BE IN ALL_CAPS

    - - -
---

Remove posts with ALL CAPS titles

---
friendly_name: Remove posts with ALL CAPS titles (Use automations to stop most ALL CAPS titles from making it onto the subreddit)
type: submission
title (case-sensitive, regex, full-text): ["([A-Z0-9]|\\W)+"]
action: remove
Action_reason: all caps title by u/{{author}}, message send, no further action needed [{{match}}]
comment: |
    Hi {{author}},
    It seems you've submitted a post which consists of an ALL CAPS or nonsensical title. 
    Could you please resubmit and format it in a less SHOUTY nature since that’s not really appreciated here. Thanks!
    - - - 
comment_locked: true
---

Removing ALL CAPS comments

---
friendly_name: removing ALL CAPS comments (Use automations to stop most ALL CAPS comments from making it onto the subreddit)
type: comment
Body (case-sensitive, regex, full-text): ["([A-Z0-9]|\\W)+"]
action: remove
Action_reason: all caps comment by u/{{author}}, message send, no further action needed [{{match}}]
message_subject: 'A note from /r/{{subreddit}} about your {{kind}}'
message: |
    Hi {{author}},      
    Your comment is in ALL CAPS or consists only of emoji. 
    We don’t allow that on this subreddit
    - - - 
---

CrAzY CaSe formatted content

---
friendly_name: CrAzY CaSe (Crazy Case) content
type: any
title+body (regex, case-sensitive): '(?<!\S{20})(?!\S{20})(?:[a-z]{1,3}[A-Z]{1,3}|[A-Z]{2,3}(?!s\b)[a-z]{1,3}).{0,7}(?:(?:[a-z]{1,3}[A-Z]{1,3}|[A-Z]{2,3}(?!s\b)[a-z]{1,3}).{0,7}){4,}'
priority: 545
action: remove
action_reason: cRaZy cAsE content from u/{{author}}
message_subject: A note from /r/{{subreddit}} about your {{kind}}
message: |
    Hi {{author}},     
    Your [{{kind}}]({{permalink}}) has been removed due to the use of CrAzY cAsE formatting in your post or title. To contribute to this subreddit, please only post or comment in English using traditional alpha-numeric numbers, letters and symbols. Please try again!   

---

Add NSFW tag based on signal words

---
friendly_name: Add NSFW tag based on signal words
# Sometimes users forget to tag a post NSFW, with this rule you can check if a post is flaired, and if not let it set the NSFW tag.
# Simultaniously it also sets crowd control more trict. If that's not needed in your sub, remove the line with 'set_post_crowd_control_level'
# simultaniously it also overwrites the post flair. If that's not needed, remove the line with 'set_flair' and the line with 'template_id'
title+body (includes-word): ['word1', 'word2']
is_NSFW: false 
set_nsfw: true
set_flair:
  template_id: '11111-aaaaa-bbbb'
overwrite_flair: true
set_post_crowd_control_level: STRICT
---

Remove all NSFW posts

---
friendly_name: Remove all NSFW posts
is_NSFW: true 
action_reason: NSFW post from u/{{author}}
action: remove
message_subject: A note from /r/{{subreddit}} about your {{kind}}
message: |
    Hi {{author}},      
    Your [{{kind}}]({{permalink}}) has been removed, this subreddit doesn't allow NSFW content.
---

NSFW and NSFL report

---
friendly_name: NSFW and NSFL report
# Reports content that mentions NSFW/NSFL and tags it as NSFW.
# If you just want to tag these posts as nsfw, you can add a line with "is_nsfw: false" and remove the lines with "action:" and #action_reason:"
title+body (regex): ['not.safe.for.(work|life)', 'nsf[wl]']
set_nsfw: true
action: report
action_reason: "Not safe [{{match}}]"
---

Author profile check

---
# author profile check
Friendly_name: Author profile checks
author:
    social_links: 'onlyfans.com'
    bio_text: 'DM me'
action_reason: content creator u/{{author}}
action: remove
message_subject: A note from /r/{{subreddit}} about your {{kind}}
message: |
    Hi {{author}},      
    We don't allow adult content creators on this subreddit. You're welcome to participate with an alt account.
---

Rock, paper, AUTOMOD NEO!

---
# rock, paper, AUTOMOD NEO!
# source: https://www.reddit.com/r/AutoModerator/s/vg588eREhW
# to leave randomised comments on posts. submission identifiers are assigned sequentially across Reddit and they increment so quickly you can essentially use them as a random-like number as long as you're not trying to do something serious with them. And to make things easier, 36 (26 letters + 10 numbers) divides by X evenly. The original was coded to random reply on posts with a specific title. With the simple "single terminal character" approach used, you can easily create a set of rules that evenly divide into 1, 2, 3, 4, 6, 9, 12, 18, or 36 different outcomes. Just create the number of outcomes you want and then divide up the characters "0" through "9" and "a" through "z" (ideally interleaving them as I did above).
# This is a set up to 1 of 3 comments options on all posts at random 
---
friendly_name: Rock
type: submission
title: ['RPS']
id (regex, includes): ['[0369cfilorux]$']
comment: "Rock!"
---
friendly_name: Paper
type: submission
title: ['RPS']
id (regex, includes): ['[147adgjmpsvy]$']
comment: "Paper!"
---
friendly_name: Scissors
type: submission
title: ['RPS']
id (regex, includes): ['[258behknqtwz]$']
comment: "Scissors!"
---

# If you want to use this idea but not comment on every post, or you want to have more comments, just leave a few out like in this example
# 0-9 and a-z are divided over 6 IDs
# this example also excludes posts with certain flair from getting a random comment
---
friendly_name: random comment rule 1
type: submission
id (regex, includes): ['[17ciou]$']
~title+flair_text: ['word1']
moderators_exempt: true
comment: |
    ^random ^comment 
    - - - 
comment_locked: true
comment_stickied: true
 
---
friendly_name: random comment 2
type: submission
id (regex, includes): ['[28djpv]$']
~title+flair_text: ['word2']
moderators_exempt: true
comment: |
   ^random ^comment 
    - - - 
comment_locked: true
comment_stickied: true

---
# type: submission
# id (regex, includes): ['[39ekqw]$']
# comment: |     
#    comment here
#     - - - 
# comment_locked: true
# comment_stickied: true
 
---
# type: submission
# id (regex, includes): ['[40flrx]$']
# comment: |
#    comment here
#    - - - 
# comment_locked: true
# comment_stickied: true

---
# type: submission
# id (regex, includes): ['[5agmsy]$']
# comment: |
#    comment here
#    - - - 
# comment_locked: true
# comment_stickied: true

---
# type: submission
# id (regex, includes): ['[6bhntz]$']
# comment: |
#    comment here
#    - - - 
# comment_locked: true
# comment_stickied: true

---

Moderation complaints

---
friendly_name: Moderator/Admin call outs. 
# moderation complaints
# to filter mod action complaints, use the first rule if 'mods' is not a common word used in your subreddit, opt for the second if 'mods' is is a common word in your sub  
#  Be aware this rule often throws false positives.  Edit or Add exemptions as needed. 
# use this rule if 'mods' and 'admin' are not common words in your sub, choose the other rule if they are
title+body (regex): ['mod(s|erat(e|ors?)?)?', 'admin(s|istrat(e|ors?)?)?']
~title+body (includes-word): ["moderate"]
action: filter
action_reason: "Mod/admin callout - [{{match-1}}]"
---
friendly_name: Moderation complaints
# if 'mods' and/or 'admin' are commonly used words in your sub, use this rule
#  Edit or Add exemptions as needed. Once you got it tailored to your need, you can change the action to remove.
title+body#mods: [mods, admin, admins, Mods, moderator, moderators, reddit, automod, post, comment]
title+body#remove: ['got deleted', 'was deleted', 'got removed', 'was removed', ban, banned, 'took down', 'taken down', 'removed my last', 'removed the previous', 'removed my previous']
action: filter
action_reason: "contains the words [{{match-mods}}] and [{{match-remove}}] from u/{{author}}"
message_subject: "A note from r/{{subreddit}} about your {{kind}}"
message: |
    Hi {{author}},       
    It appears you are commenting about a moderation action taken on a previous post or comment. If you have any questions about a mod action, please reply to the removal message you received or contact [modmail](https://www.reddit.com/message/compose?to=/r/{{subreddit}})
    Thank you!
---

Command to let specific users filter content to the mod queue

---
friendly_name: Neo command to let specific users filter posts to the mod queue
# this rule filters posts to the mod queue when a trusted user makes a top level comment on a post with the command. It sends a message to the trusted user with a thanks and removes the comment they made (to shield them)
# it sends a modmail with all details
type: comment
body (regex): ['!rule']
author: ['name1', 'name2']
moderators_exempt: false
message: |
  - - - 
  hi {{author}},  
  
  Thanks, we’ll look into it!            
  mods of r/{{subreddit}}
  - - - 
parent_submission:
    action: filter
    action_reason: "filtered by [{{author}}]: {{body}}"
action: remove
action_reason: "Remove rule command"
modmail_subject: "filtered by [{{author}}] {{body}}"
modmail: |      
    content title: {{title}}                     
    content Link: {{permalink}}

    actions: filtered by [{{author}}], waiting in modqueue 
---
friendly_name: Neo command to let specific users filter comments to the mod queue
# this rule filters comments to the mod queue when a trusted user replies to a comment with the command. It sends a message to the trusted user with a thanks and removes the comment they made (to shield them)
# it sends a modmail with all details
type: comment
body (regex): ['!rule']
author: ['name1', 'name2']
moderators_exempt: false
message: |
  - - - 
  hi {{author}},  
  
  Thanks, we’ll look into it!            
  mods of r/{{subreddit}}
  - - - 
parent_comment:
    action: filter
    action_reason: "filtered by [{{author}}]: {{body}}"
action: remove
action_reason: "Remove rule command"
modmail_subject: "filtered by [{{author}}] {{body}}"
modmail: |      
    content title: {{title}}                     
    content Link: {{permalink}}

    actions: filtered by [{{author}}], waiting in modqueue 
---

Wall of text with no paragraphs

---
friendly_name: wall of text with no paragraphs
# enforce better formatting (Use automations to stop most titles with emoji making it onto the subreddit as a first line defense)
# adujust the number of characters and paragraphs to your need
type: any
body_longer_than: 800
paragraph_count: '< 2'
action_reason: Wall of text
action: remove
message_subject: "A note from r/{{subreddit}} about your {{kind}}"
message: |
  - - - 
  hi {{author}},  
  
  Please add some paragraph breaks to [your {{kind}}]({{permalink}}) by placing a blank line between distinct sections.        
  mods of r/{{subreddit}}
  - - - 
---

Match word1 and word2

---
friendly_name: natch word1 and word2
# matching more then one key word
# do not use a number as the word, because that could break {{match}} placeholders 
title+body#color: ['blue', 'green', 'red']
title+body#shape (regex): ['circles?', 'squares?', 'triangles?']
action: filter
action_reason: "Colored shape filter [{{match-color}}] [{{match-shape}}]" #[{{match-title+body#color}}] [{{match-title+body#shape}}] is how you would do it in classic automoderator
---

Matching two key words with one regex

---
friendly_name: matching two key words with one regex
# Another option is using positive-lookahead in a regex, but this is only recommended if you are experienced with more complex regular expressions:
title+body (regex): ['^(?=.*?\b(blue|green|red)\b).*?\b(circle|square|triangle)s?\b']
action: filter
action_reason: "Colored shape filter [{{match}}]"
---

Doxxing alerts

---
friendly_name: DOXXING ALERT! EMAIL ADDRESS (with exemptions for survice and support emails as well as any emailadress you choose to exempt)
# Doxxing
title+body (regex): '(?!(?:abuse|help|info|no-?reply|phishing|service|spoof|support)@)[\w!#$%&\x27*+\-./=?^`{|}~]+@([\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: |
        {{permalink}}

        The above {{kind}} by /u/{{author}} was removed because it contained a possible email address. Please investigate immediately.

        If the user is doxxing, [ban them](/r/{{subreddit}}/about/banned) 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.
---

friendly_name: DOXXING ALERT! CREDIT CARD NUMBER
# Doxxing
title+body (regex): ['(?<!\d)(?:4[0-9]{12}(?:[0-9]{3})?|5[12345][0-9]{14}|3[47][0-9]{13}|3(?:0[012345]|[68][0-9])[0-9]{11}|6(?:011|5[0-9]{2})[0-9]{12}|(?:2131|1800|35[0-9]{3})[0-9]{11})(?!\d)']
action: remove
action_reason: "Credit card number detected [{{match}}]"
modmail_subject: Doxxing Alert!
modmail: |
        {{permalink}}

        The above {{kind}} by /u/{{author}} was removed because it contained a possible credit card number. Please investigate immediately.

        If the user is doxxing, [ban them](/r/{{subreddit}}/about/banned) 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.  
---
friendly_name: DOXXING ALERT! ADDRESS
# Doxxing
# for americal style addresses. May not be very suitable for local subs, where addresses are more commonly used for legit reasons
title+body (regex): ['\b\d{1,6} +[A-Za-z]+ +(?:st(?:reet)?|ave(?:nue)?|road|dr(?:ive)?)\b']
~title+body#whitelist: ['1 address', '2 address']
action: remove
action_reason: "Address detected [{{match}}]"
modmail_subject: Doxxing Alert!
modmail: |
        {{permalink}}

        The above {{kind}} by /u/{{author}} was removed because it contained a possible address. Please investigate immediately.

        If the user is doxxing, [ban them](/r/{{subreddit}}/about/banned) 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.
---    
friendly_name: DOXXING ALERT! PHONE NUMBERS (helplines and rick roll exemptions)
# Doxxing
# Rick roll phone number is included in the list of excluded numbers
title+body (regex): [ '(?<!\d)(?:\(\d{3}\)|\d{3})[ .-]\d{3}[ .-]\d{4}(?!\d)','(?<!\d)\d{5}[ .-]\d{6}(?!\d)', '(?<!\d)(?:\(\d{4}\)|\d{4})[ .-]\d{3}[ .-]\d{3}(?!\d)', '(?<!\d)(?:\(\d{2}\)|\d{2})[ .-]\d{4}[ .-]\d{4}(?!\d)', '(?<!\d)(?:\(\d{2}\)|\d{2})[ .-]\d{3}[ .-]\d{4}(?!\d)', '(?<!\d)\+\d(?:[ ]?\d){9,14}(?!\d)']
~body+url (regex): '(?:\[[^\]]+\]\()?(?:https?://|www\.)\S+\)?'
~body+title+url (regex): ['(800|855|866|877|888|007|911)\W*\d{3}\W*\d{4}', '\d{3}\W*555\W*\d{4}', '999-999-9999', '000-000-0000', '123-456-7890', '111-111-1111', '012-345-6789', '888-888-8888', '281\W*330\W*8004', '777-777-7777', '678-999-8212', '999([ .-])119([ .-])7253', '0118 999 811', '0118 999 881', '248\W*434\W*5508', '867(?:[ .-])?5309', '505\W*503\W*4455', '1024 2048']
action: remove
action_reason: "Phone number detected [{{match}}]"
modmail_subject: Doxxing Alert!
modmail: |
        {{permalink}}

        The above {{kind}} by /u/{{author}} was removed because it contained a possible phone number. Please investigate immediately.

        If the user is doxxing, [ban them](/r/{{subreddit}}/about/banned) 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.
---   
friendly_name: DOXXING ALERT! IPv4 
# Doxxing
title+body (regex): '\b(?:(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9]?[0-9])\b'
action: remove
action_reason: "IPv4 detected [{{match}}]"
modmail_subject: Doxxing Alert!
modmail: |
        {{permalink}}

        The above {{kind}} by /u/{{author}} was removed because it contained a possible IPv4 address. Please investigate immediately.

        If the user is doxxing, [ban them](/r/{{subreddit}}/about/banned) 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.
---

Username mentions

---  
friendly_name: Username Mentions
# Detect and remove comments containing username mention "pings".
# Reddit only sends a notification for comments containing 3 or fewer usernames so the ~body line exempts comments with more than 3 unique usernames.
# The regex used in ~body must be the first regex in the line or it will not work.
type: comment
body (regex, includes): ['(?<!\bhttps://\w{3}\.reddit\.com/)\bu/([\w-]{3,20})']
~body (regex, includes): ['(?<!\bhttps://\w{3}\.reddit\.com/)\bu/([\w-]{3,20})[\s\S]*?(?<!\bhttps://\w{3}\.reddit\.com/)\bu/(?!\1(?![\w-]))([\w-]{3,20})[\s\S]*?(?<!\bhttps://\w{3}\.reddit\.com/)\bu/(?!\1(?![\w-])|\2(?![\w-]))([\w-]{3,20})[\s\S]*?(?<!\bhttps://\w{3}\.reddit\.com/)\bu/(?!\1(?![\w-])|\2(?![\w-])|\3(?![\w-]))[\w-]{3,20}']
action: remove
action_reason: "Remove username mention [{{match-2}}]"
---

Disguised Links

---
friendly_name: Disguised Links
# Detect and filter content where Reddit markup is used to disguise one link as another.
# The regex used in body+title must be the first regex in the line or it will not work.
body+title (regex, includes): ['\[\s*(?:https?://)?(?:(?:www|en|home|np)\.)?([\w-]{1,64}\.[a-z][\w-]{1,63})(?=[\s#&/?\]])[^\]]*\]\(\s*https?://(?!(?:(?:www|en|home|np)\.)?\1(?:[\s#&)/?]|$)|[\w.-]+\.gov/|www\.google\.com/url\?\S*\1)[^)]*\)']
action: filter
action_reason: "Possible disguised link, please review [{{match}}]"
---

Set post flair based on domain

---  
friendly_name: Set post Flair based on domain
# Set automatic link flair on certain domains. It is highly recommended that the flair class used not appear as a link flair template, so that users cannot use it to mislead other redditors.
# Replace "flair text is here" with your desired text for the flair and replace flairclassishere with the name of your default flair class. Both items stay within quotes. Replace the list within brackets with your own list of domains to receive automatic link flair.
domain: [site1.com, site2.com, site3.com]
set_flair: ["flair text is here", "flairclassishere"]
---

Set post flair based on Key words

---
friendly_name: Set post flair based on Key words
# Assign link flair based on keywords in post title.
# Replace "flair text is here" is here with your desired text for the flair and replace flairclassishere with the name of your default flair class. Both items stay within quotes. Replace the list within brackets with your own list of keywords to receive automatic link flair.
title: [keyword1, keyword2, keyword3]
set_flair: ["flair text is here", "flairclassishere"]
---

Set post flair for link posts

---
friendly_name: Set post flair for link posts
# The use of priority: -1 ensures that this rule is evaluated last (after any other rule that might assign a different link flair).
# Replace link text is here with your desired text for the flair and replace linkclassishere with the name of your default flair class. Both items stay within quotes.
type: link submission
set_flair: ["link text is here", "linkclassishere"]
---

Comments that are just /r links

---
friendly_name: Comments that are just /r links
# removes comments that are just r/links
type: comment
body (regex, full-text): ['/?r/\w+']
action: remove
action_reason: "Comment is just /r link [{{match}}]"
---

Donger prevention

---
friendly_name: Donger Prevention
# Targets characters used frequently in donger. Also matches some non-English languages.
# If mathematical, phonetic, or drawing symbols are common on your sub, modify before use.
body+title (regex, includes): ['[\u0250-\u02af]', '[\u0300-\u036f]', '[\u0c80-\u0cff]', '[\u0e00-\u0e7f]', '[\u0f00-\u0fff]', '[\u30a1-\u30fa]', '[\u1400-\u167f]', '[\u1d00-\u1d7f]', '[\u2200-\u22ff]', '[\u2500-\u257f]', '[\uff00-\uff0c\uff0e-\uffef]+']
action: filter
action_reason: "Possible donger [{{match}}]"
---

Short Top-Level comments

---
friendly_name: Short Top-Level Comments
# Removes top-level comments below a character threshold. Adjust the threshold as needed;
# remove the is_top_level line to apply to all comments, remove the type line to also apply to text posts.
type: comment
body_shorter_than: 11
is_top_level: true
action: remove
action_reason: "Short top-level comment"
---

User Bot Ban List (simple)

---
friendly_name: User Bot Ban List (simple)
# "Bot ban" a troll or spammer instead of an actual ban (which tells them it's time for a new account).
author:
    name: [username1, username2, username3]
action: remove
action_reason: "User is banned"
---

User Bot Ban List (extended)

---
friendly_name: User Bot Ban List (extended)
# Same as above, but the list format allows inline comments per user/section.
author:
    name:
        # comment for a section of users
        - username1
        - username2 # comment for specific user
        # comment for a section of users
        - username3
action: remove
action_reason: "User is banned"
---

Link-only text Posts

---
friendly_name: Link-only text Posts
# remove text posts that only contain a link and no text
type: text submission
body (regex, full-text): '(\[[^\]]*\]\()?https?://\S+\)?' # If Neo sends a warning, replace the regex with this one ['(\[[^\]]{0,300}\]\()?https?://\S{1,1000}\)?']
action: remove
action_reason: "Link-only self post"
---

Text Posts without Text

---
friendly_name: Text Posts without Text
type: text submission
body_shorter_than: 1
action: remove
action_reason: "Self post without text"
---

Remove posts and comments with mobile links

---
friendly_name: Mobile Links
# remove posts and comments with mobile links
domain (starts-with): [m., mobile.]
action: remove
action_reason: "Mobile link [{{domain}}]"
comment: |
    Your submission was automatically removed because you linked to the mobile version of a website.

    Please submit a non-mobile link instead.
---

Emoji Ban for titles

---
friendly_name: Emoji Ban for titles (Use automations to stop most titles with emoji making it onto the subreddit as a first line defense)
# Removes titles containing emoji, miscellaneous symbols, and dingbats.
# Can be changed to title+body to also apply to self post text and (as type: comment) comments.
# Some parts may not work well on science/tech/math subreddits, especially applied to body.
title (regex, includes): ['[\u200d]', '[\u2500-\u257f]+', '[\u2600-\u26ff]', '[\u2700-\u27ff]', '[\u2800-\u28ff]', '[\u30c4]', '[\u{1F000}-\u{1FAFF}]']
action: remove
action_reason: "Emoji [{{match}}]"
comment: |
    Your [{{kind}}]({{permalink}} in /r/{{subreddit}}) has been automatically removed because you used an emoji or other symbol.

    Please retry your {{kind}} using text characters only.
---

User Whitelist (auto-approve)

---
friendly_name: User Whitelist (auto-approve)
# Auto-approves content from whitelisted users at submission/edit time.
# The only way to auto-approve content by a site-wide shadowbanned user; requires
# a name check (this rule) and unchecking "exclude posts by site-wide banned users" in settings.
author:
    name: [username1, username2, username3]
action: approve
action_reason: "Whitelisted user"
---

User Whitelist (approve reported content)

---
friendly_name: User Whitelist (approve reported content)
# Auto-approves whitelisted users' content when it gets reported.
author:
    name: [username1, username2, username3]
reports: 1
action: approve
action_reason: "Approve reported content from whitelisted user"
---

Topic Alert

---   
friendly_name: Topic Alert
# Alert the moderators if someone posts about a certain topic.
title: [keyword1, keyword2, keyword3]
modmail: The above submission by /u/{{author}}, with title "{{title}}" may be about topic.
---

Post Alert

---
friendly_name: Post Alert
# Notify the moderators of every new submission. Useful for small or new subreddits.
type: submission
modmail: |
    There is a new post in /r/{{subreddit}}!

    - Title: {{title}}
    - User: {{author}}
---

Require Title Tag

---
friendly_name: Require Title Tag (Use automations to enforce title tags as a first line defense)
# Remove posts whose title lacks one of the required tags.
# Quotes are required around each item due to the square brackets.
# Note, this can also be achived with automations. Use this rule only as a back up for an automation
~title: ['[Tag1]', '[Tag2]', '[Tag3]']
action: remove
action_reason: "Title missing required title tag"
comment: |
    Your post has been automatically removed because you did not include one of the required title tags.

    Please read the subreddit rules for more information.
---

Spam Obfuscations

---
friendly_name: Spam Obfuscations
# Spammers obfuscate text with lookalike characters from other Unicode regions.
# Also matches some non-English languages. Still under development, use at own risk.
# On English-only subs with severe obfuscated spam, add a separate rule using body+title (regex, includes, case-sensitive): ['[ÀÁÃÄÆÇÈÊÍÎÐÑÓÖØÚÛÜÝÞßàãæëìîðòõøùúýþ]+'].
body+title (regex, includes): ['[\u0180-\u024f]+', '[\u0250-\u02af]+', '[\u02b0-\u02ff]+', '[\u0300-\u0335\u0337-\u0360\u0362-\u036f]+', '[\u0370-\u03ff]+', '[\u0400-\u052f]+', '[\u0530-\u058f]+', '[\u13a0-\u13ff]+', '[\u1400-\u167f]+', '[\u1d00-\u1d7f]+', '[\u1d80-\u1dbf]+', '[\u1e00-\u1eff]+', '[\u1f00-\u1fff]+', '[\u2160-\u218b]+', '[\u2460-\u24ff]+', '[\u2c00-\u2c5f]+', '[\u2c60-\u2c7f]+', '[\u2c80-\u2cff]+', '[\ua720-\ua7ff]+', '[\uab30-\uab6f]+', '[\uab70-\uabbf]+', '[\uff00-\uff0c\uff0e-\uffef]+', '[\u{1D400}-\u{1D7FF}]+', '[\u{1F100}-\u{1F1FF}]+']
action: filter
action_reason: "Possible spam obfuscations or non-English [{{match}}]"
---

Non-English Content

---
friendly_name: Non-English Content Ban
# Matches about 75-80% of non-English spam on Reddit. Identifies non-English content, does not predict the language.
# On non-English subreddits, remove the ranges matching your own language.
# Note, because of Reddits translation features, users are not always aware what language a subreddit is in.
body+title (regex, includes): ['[\u0180-\u024f]+', '[\u0300-\u0335\u0337-\u0360\u0362-\u036f]+', '[\u0400-\u052f]+', '[\u0590-\u05ff]+', '[\u0600-\u0669\u066b-\u06ff]+', '[\u0900-\u097f]+', '[\u0980-\u09ff]+', '[\u0a00-\u0a7f]+', '[\u0b80-\u0bff]+', '[\u0c80-\u0cff]+', '[\u0e00-\u0e7f]+', '[\u1e00-\u1eff]+', '[\u3041-\u3096]+', '[\u30a1-\u30c3\u30c5-\u30fa]+', '[\u4e00-\u9fff]+', '[\uac00-\ud7af]+']
action: filter
action_reason: "Non-English [{{match}}]"
---
friendly_name: Non-English Content Ban (French)
type: submission
title+body (regex, includes, case-sensitive): ['[\u00C0\u00C2\u00C6\u00C7\u00C8\u00C9\u00CA\u00CB\u00CE\u00CF\u00D4\u00D9\u00DB\u00DC\u00E0\u00E2\u00E6\u00E7\u00E8\u00E9\u00EA\u00EB\u00EE\u00EF\u00F4\u00F9\u00FB\u00FC\u00FF\u0152\u0153\u0178]']
body+title (regex): ['(?<!\bdu.)jours?', '(?<!\blaissez.)faire', 'a(insi|lors|ucune|ujourd[\x27’]hui|ussi|utres?|vait|vec|voir)', 'b(iens?|onnes?)', 'c([\x27’]est(?!.magnifique\b)|ela|es|ette|hez|omme|omptes?|ontre)', 'd([\x27’]autres|[\x27’]un|[\x27’]une|ans|epuis|eux|its?|onc|roite)', 'e(ffets?|lles?|ntre|ntreprises?)', 'f(aits?|aut|ois)', 'gauche', 'ils', 'j([\x27’]ai|amais)', 'l([\x27’]on|es|eurs?|oi|ui)', 'm(ais|oi|oins|ois|onde)', 'n([\x27’]a|[\x27’]est|iveau|ous|ouveau|ouvelles?)', 'oui', 'p(artie|as|ersonnes?|eu|eut|euvent|eux|ourquoi|roduits?|utain)', 'qu([\x27’]ils?|[\x27’]on|and|elles?|elques|els?|i|oi)', 'r(este|ien)', 's([\x27’]est|elon|erait|oit|ont|ouvent|uis|ur)', 't([\x27’]as|[\x27’]es|ermes?|itres?|oujours?|ous|outes?|rois|rop|rouves?)', 'une', 'v(ais|ers|oir(?!.dire\b)|ous)']
action: filter
action_reason: "Non-English (French) [{{match-title+body}}], [{{match-body+title}}]"
---
friendly_name: Non-English Content Ban (German)
type: submission
title+body (regex, includes, case-sensitive): ['[\u00C4\u00D6\u00DC\u00DF\u00E4\u00F6\u00FC]']
body+title (regex): ['(aber|alles|als|auch|auf|bei|bist|bitte|damit|danke|dann|dass|dein|deine|dem|denn|der|des|diese|dieser|dir|doch|ein|eine|einem|einen|einer|einfach|etwas|euch|frau|ganz|gehen|geht|gesagt|gibt|gott|hab|haben|hast|hatte|heute|hier|ihm|ihn|ihnen|ihr|immer|jetzt|kann|kannst|kein|keine|komm|kommen|kommt|leben|leute|los|machen|mehr|meine|meinen|mich|mit|nein|nicht|nichts|nie|noch|nur|oder|sagen|schon|sehen|sehr|sein|sich|sicher|soll|und|uns|viel|von|vor|warum|wenn|werde|werden|wie|wieder|willst|wirklich|wissen|wollen|wollte|wurde|zeit|zum|zur)']
action: filter
action_reason: "Non-English (German) [{{match-title+body}}], [{{match-body+title}}]"
---
friendly_name: Non-English Content Ban (Spanish or Portuguese)
type: submission
title+body (regex, includes, case-sensitive): ['[\u00A1\u00AA\u00BA\u00BF\u00C0\u00C1\u00C2\u00C3\u00C7\u00C8\u00C9\u00CA\u00CC\u00CD\u00D1\u00D2\u00D3\u00D4\u00D5\u00D9\u00DA\u00DC\u00E0\u00E1\u00E2\u00E3\u00E7\u00E8\u00E9\u00EA\u00EC\u00ED\u00F1\u00F2\u00F3\u00F4\u00F5\u00F9\u00FA\u00FC]']
body+title (regex): ['a(lgo|cha|cho|hora|inda|lguém|lguien|nos|penas|qui|ssim|té)', 'b(em|ueno)', 'c(asa|erto|oisa|oisas|omo|osa|osas|reo|uando)', 'd(ecir|epois|esde|espués|eus|eve|ia|ije|ijo|ios|isse|izer|ois|onde)', 'e(la|le|les|llos|ntonces|res|sa|se|spera|ssa|sse|sta|staba|stamos|star|stas|stava|ste|sto|stou|stoy)', 'f(alar|az|azendo|azer|icar|oi|ue|uera)', 'g(ente|racias)', 'h(ablar|ace|acer|echo|ijo|ola|ombre|omem)', 'i(sso|sto)', 'l(he|ugar)', 'm(ais|ejor|elhor|esmo|eu|ierda|inha|is|ismo|omento|ucho|uito|undo|uy)', 'n(ada|adie|em|oche|oite|os|osotros|unca)', 'o(brigado|nde|tra|tro)', 'p(ai|arece|asa|elo|ero|essoas|ode|odemos|or|orque|osso|ouco|ra|reciso|uede|uedes|uedo)', 'qu(al|ando|é|em|er|ero|ién|iere|ieres|iero)', 's(abes|eguro|ei|em|empre|enhor|eu|eus|iempre|iento|obre|ua)', 't(alvez|ambém|ambém|em|emos|enemos|engo|enho|er|iempo|iene|ienes|inha|ipo|odo|odos|rabajo|udo|us)', 'u(ma|no|sted)', 'v(amos|er|erdad|erdade|ez|ida|ou|oy)']
action: filter
action_reason: "Non-English (Spanish or Portuguese) [{{match-title+body}}], [{{match-body+title}}]"
---

Click bait titles

---
friendly_name: Click bait
# filters common click bait titles and media
title+media_title (regex): ['(10|\d{1,4}\b(?<!covid\.19)|five|four|one|seven|simple|six|three|two) ((\w{1,20} )?[Ww]ays|easy|best|free|main|money|reasons?|steps)', '([5-9]|\d\d+|five|seven|simple|six) (\w+ )?ways', '(\d+|five|four|one|only|pro|seven|simple|six|this|three|two|weird)(\W[\w\x27-]{3,})?\W((pro\W?)?tips|things? (every\w*|one|only|you\w*)|trick)s?', '(photos|pictures|images) that prove', '\d{1,2} (signs|reasons) (you(\W?re)?|why)', '\d{1,2} dogs who', '\d{1,2} most important', '\d{1,2} things that', 'are the most', 'before you die', 'blow your mind', 'character are you', 'd(id|o)n\W?t know about', 'game of thrones', 'in real life', 'in your life', 'is this the', 'probably d(id|o)n\W?t know', 'reasons you should', 'things that (actually |really )?happen(ed)?', 'things you d(id|o)n\W?t', 'things you probably', 'will blow your', 'you probably d(id|o)n\W?t', 'you should be']
action: filter
action_reason: Possible clickbait [{{match}}]
---

Discord telegram whatsapp telescope domain blacklist

---
friendly_name: Discord telegram whatsapp telescope domain blacklist 
# Spam any comment or post that includes banned links if Reddit spam filters missed them
Body+title+url+domain (regex): ['discord(app)?\W*(dot\W*)?(com|gg|me|net|link)', 'telegram\.org', 't\.me' , 'whatsapp\.com', 'telesco\.pe']
action: spam
action_reason: 'Discord/etc. blacklisted domain [{{match}}]'
moderators_exempt: false
---

Short and Senseless Memes

---
friendly_name: Short and Senseless Memes
# Removes "circlejerky" comments. Somewhat aggressive; for smaller subs consider # action: report or # action: filter , instead of remove.
# This rule only acts on short comments. Several of the regexes in this are intentionally limited to 50 characters
type: comment
body (regex): ['((nick)?name|account)( \S+){0,2}\W+check\w*\W?out', '(3|th?ree)\b.{0,10}\bfi(dd?|ft)y', '(?!carl\b)c[ao]+r+l+', '(?!passwords?\b)p[4a][$5s]{2}\W?w[0o]rd\w*', '(?<!.{32})(?<!( car| job|aged|gher|lea[nr]|nior|uilt|vage) )titles?(?!.*\b(car|company|fee|insurance|job|loan|vehicle)s?\b)', '(?<!\.)(?<!rule of )69(?!( (days|years)|[,.]))', '(?<!thank )(yo)?u sir', '(?<=\$)750', '(\d+|three|too|two)\W?(deep|edge?|meta|spice?|spook|spoop)y?\W?(\d+|for)\W?me', '(\w{3,}|u) had one job', '(^\S{0,49}|chop|cut)\w{0,49} ?onions(?!,)', '(and|or)\W+my\W+axe?', '((bul+|dip|horse|jack).?)?sh(\\?\*|[ai]|(?!(eets?|iites?)\b)[ei]{2,})(\\?\*|t)e?(s|ty)?', '(chad|karen|nancy)s?', '(comment|post|story|this) (checks out|gave me (\w+\W+){0,2}(aids|autism|cancer)|kills the|will be downvoted)', '(deleted|removed) comments?', '(dia-?)?beet-?us', '(dick|penis) (stuck|in crazy)', '(down|up)\W?(boat|doot|vot)\w*', '(do|lik) dis', '(enter|join)ed (the )?chat\w*', '(gentleman|scholar) and a? ?(gentleman|scholar)', '(i|u|you) (just )?lost the game', '(mis)?read th(at|is) as', '(nope[,.]? ?){2,}', '(tb[fh]|tho)(?=\W*$)', '(top.?)?kek', '(yo(u|u are|u\Wre|ur(?! ass\b)|ure)|ur) ?(argue|look|may|might|must|seem|sound|talk|write)? ?(be|like)? ?(an?|the)? ?(\w+ly|fucking|poor|very)? ?((dumb|jack)?a(rse|ss)\W?(clown|fuck|hat|hole|munch|sex|tard|tastic|wipe)?|bastard|bitch|cunt|delusional|dick|dimwit|disgusting|dolt|douche|dumb|fool(ish)?|fuck(?!ing)\w+|idiot|imbecile|inbred|jerk|loser|moron|naive|narcissist\w*|nitwit|pathetic|queer|schmuck|scum\w*|st[ou]+pid|waste of \w+)(es|s)?', '(yo)?u ?w[0oau]t ?m[8a]t?e?', '(yo)?u can\W*t explain that', '(yo)?u lucky', '(yo)?u monster', '(yo)?u must be new', '(yo)?u tagged as', '(yo)?u wouldn\W*t download an?', '(yo)?u[.,]? I like (yo)?u', '0.?1.?1.?8.?9.?9.?9.?8.?8.?1.?9.?9.?9.?1.?1.?9.?7.?2.?53?', '0bama\w*', '[0o][._][0o]', '[ah]{12,}', '[bg]tfo', '[bm]?wa+h[ah]*', '[dh]urr?', '\\d{1,47}/10', '\d{1,46}[a-z]{1,46}\d{1,46}me', '\w{0,42}pikachu\w{0,42}', '\w{3,40} as fu[ck]{1,2}', '^((my|o+[uw]+c+h+|o+w+|oo+f+)[ie]*(\b|\s)){2}', '^(\S+ ){1,5}is leaking', '^(\W*(420|69|no*i+c+e+))+\W*$', '^R\.?I\.?P(\b|\.)', '^ay+', '^better call', '^classic', '^good bot', '^that\W*s true\W*$', '^thirded', '^this guy', '^til', '^um+', '^what do(?=\?\s*$)', 'af', 'anall?y?', 'are (yo)?u (fucking sorry|me)', 'ass', 'babby', 'bae(?!\Wsystems)', 'banana.?(4|for).?scale', 'be (un)?attractive.{1,30}be (un)?attractive', 'bitch\w*', 'blackjack and hookers', 'blew', 'bljad', 'boners?', 'book\W?mark(ing|ed)?', 'br(ea|o)k(en?|ing|s)? (both )?(of )?((his|my|your) )?arms', 'br[aou]+h?', 'bs', 'bubbles', 'c(ontrol|trl)\W{1,3}F', 'c[ao]n?stanza', 'came (here )?(\w+ )?to (post|say) (that|this)', 'can confirm(?=\W*($|[,.]|am\b))', 'can\W*t? fap to this', 'cat\W?facts?', 'challenge accepted', 'christ', 'chuck testa', 'claps?', 'comment (apocalypse|graveyard)', 'comment(ed|ing) (to|for)', 'cool (story|theory)', 'd[0o]nger', 'damn onions', 'damn', 'dank(est)?', 'dat \w{3,} doe', 'dat', 'dawg', 'delete facebook', 'dick', 'did nazi that c[ou]m+ing', 'ding', 'dis', 'disappoint\w*', 'doesn\W*t matter\W+had sex', 'doin[\Wg]? god\W*s work', 'don\W*t let your dreams be (dream|meme)s', 'drugs?', 'dumb', 'enough (internet|reddit) for', 'epsteins?', 'erin', 'fails?', 'faith in humanity', 'fam', 'feels good man', 'florida.?man', 'for science', 'front page', 'frozen soap', 'ftfy', 'fuck\w*', 'gave me cancer', 'gg\W?wp', 'gig+it+y', 'got\W*e+m+', 'gotta', 'gud jub', 'harambe', 'hero', 'hit (the )?gym', 'hold my\b.{0,36}\bi\W?m goin.? in', 'holy', 'hot pockets?', 'hunter2', 'i (c|see) wh?[auo]t (yo)?u did th[ea]re?', 'i\W?ll just leave this here', 'idk', 'imh?o', 'in soviet russia', 'intensifies', 'it went ok(ay)?', 'it\W*s happening', 'jesus', 'jimmies', 'just the tip', 'kanye', 'karma', 'kek[ek]*s?', 'kills? (it )?with fire', 'knawledge\w*', 'know that feel', 'kobe(?!.beef)', 'l(?!ull(ed|ing|s)?\b)[ou]l[ol]*([sz]|e?d|ing|no(pe)?|wh?[au]t)*', 'laugh', 'lawyer up', 'le (epic|meme|reddit\w*|sigh|tired|wrong)s?', 'lea?rn (how )?to (code|math)', 'life.{1,15}finds a way', 'like a b[ao]u?[sw]s', 'literally hitler', 'literally', 'lmf?ao+', 'lost it at', 'lpt', 'm[ae]h', 'm\.? night', 'm\We\Wt\Wa\We\Wt\Wa', 'mad bro', 'magnificent bastard', 'manly tears', 'me too thanks', 'mind ?([:=]=?|equals)? ?blown', 'mom\W*s spaghetti', 'monies', 'nailed it', 'national treasure', 'nice try', 'nope', 'not even once', 'nothing is impossible', 'now kiss', 'ol(\W|d?e?)? reddit', 'ontas', 'op pl[sz]', 'op will ?(surely )?deliver', 'papa.?bless', 'pathetic', 'patrick', 'perfect\w* balance\w*', 'phrasing', 'plot twist', 'pls', 'poovey', 'popcorn', 'por.?qu[eé] no l\ws dos', 'prepare (yo)?ur anus', 'preston garvey', 'real human be(an|ing)', 'real(?=[!.\s]*$)', 'right in the feels', 'risky click', 'said no one ever', 'save?(ing|d)? (for ((the )?future|later|when i)|from (cell|i?phone|mobile))', 'science bitch\w*', 'see what (he|she|they|u|you) did there', 'seems legit', 'sex', 'shia', 'shit\w*', 'shots fired', 'should feel bad', 'show myself out', 'sighs?\W+unzips?', 'slaves?', 'slow claps?', 'sneks?', 'sounds(?!.*\bplan\b)', 'step [0-9]: \?{3}', 'stfu', 'stop', 'stopped reading', 'stupid games?\b.{0,16}\bstupid prizes?', 'stupid', 'su(cks?|x)', 'switch\W?[ae]\W?ro+', 'tagged (yo)?u as', 'take my money', 'tee\W?hee', 'tendies?', 'th(anks?|x)( you| u)?[ ,]*(to )?(the )?(ameri\w*|bush|democrats?|dnc|donald|gop|obama\w*|president|republicans?|trump)', 'thanks?,? [0o]bama', 'that escalated quickly', 'tho', 'tifu', 'tips fedora', 'tl\W*dr', 'to the top with (yo)?u', 'trackers?', 'trigger(ed|ing|s)', 'ur?', 'user.?name', 'vidyas?', 'vpn', 'w[io]n\w{0,33} the internet', 'wants the d', 'was( ?n[o\W]?t)? disappoint(ed)?', 'watch the world burn', 'we did it,? reddit', 'weed', 'weirdest boner', 'wh?[au]tf? (did I just read|is this I don\W*t even|happened here)', 'who\W*s cutting onions', 'why we can\W*t have nice things', 'will get buried', 'woah', 'would read again', 'would\S{0,43} (not )?bang', 'wtf', 'wut', 'xd', 'yesterday\W{1,3}(yo)?u said tomorrow']
body#most (regex, full-text): ['[^>]{1,60}$']
body_shorter_than: 50
ignore_blockquotes: true
action_reason: "Short and senseless meme [{{match-most}}]" # [{{match-body#most}}] is how you would do it in classic automoderator
action: remove
---

Require Direct Image Links

---
# Require Direct Image Links
# This is a set of several rules which work together to remove image-hosting links that do not play nicely with RES and mobile apps, and, where possible, generates a direct link for the user to re-submit. Two of the rules are for imgur, which has several different types of URL formats.
# This set of five rules can be copy-pasted directly to your AutoModerator configuration without modification.

---
friendly_name: Indirect link to hosted image 1
# Five rules which work together to remove image-hosting links that do not play nicely with RES and mobile apps, and generate direct links for resubmission.
domain: [gyazo.com, ibb.co, imageshack.us, pinterest.com, postimg.cc, postimg.org, prnt.sc, prntscr.com, puu.sh]
~url (ends-with): [.gif, .jpeg, .jpg, .png]
action: remove
action_reason: "Indirect link to hosted image #1 [{{url}}]"
comment: |
    Your submission has been automatically removed due to an indirect link to a hosted image.

    Please be considerate of mobile and RES users, and resubmit your link with the proper file extension.

    For your convenience, here is your submitted link with a .png file extension appended to the end. Please check that it works. If it does, retry your submission with this link:

    {{url}}.png

    If the above link does not work, right-click your image, select *Copy Image URL*, and paste that into the reddit submission page instead.
---
friendly_name: Indirect link to hosted image 2 (imgur)
domain: [imgur.com]
url (regex): ['imgur\.com/(a/)?[A-Za-z0-9]{5,8}$']
action: remove
action_reason: "Indirect link to hosted image #2 [{{url}}]"
comment: |
    Your submission has been automatically removed due to an indirect link to a hosted image.

    Please be considerate of mobile and RES users, and resubmit your post as a direct link.

    For your convenience, here is your submitted link with .jpg and .gif file extensions appended to the end. Please see if one works, and re-try your submission with one of the following links:

    * {{url}}.jpg
    * {{url}}.gif

    If the above links do not work, right-click your image, select *Copy Image URL*, and paste that into the reddit submission page.
---
friendly_name: Indirect link to hosted image 3 (imgur gallery/album)
domain: [imgur.com]
url (regex): ['gallery', 'imgur\.com/[A-Za-z0-9]{5,8},([A-Za-z0-9]{5,8},?)+']
action: remove
action_reason: "Indirect link to hosted image #3 [{{url}}]"
comment: |
    Your submission has been automatically removed due to an indirect link to a hosted image.

    Non-album multi-image links and imgur gallery links are not compatible with RES and mobile apps.

    For multi-image links, please create an album and submit a link to that.

    For gallery images, please right-click your image, choose *Copy Image URL*, and submit that direct image link to reddit.
---
friendly_name: Indirect link to hosted image 4 (imgflip, pinterest)
domain: [imgflip.com, pinterest.com, snag.gy, uput.in]
~url: [i.imgflip.com, i.snag.gy, i.uput.in]
action: remove
action_reason: "Indirect link to hosted image #4 [{{url}}]"
comment: |
    Your submission has been automatically removed due to an indirect link to a hosted image.

    Please right-click your image, choose *Copy Image URL*, and submit that direct image link to reddit.
---
friendly_name: Indirect link to hosted image 5 (tinypic)
domain: [tinypic.com]
action: remove
action_reason: "Indirect link to hosted image #5 [{{url}}]"
comment: |
    Your submission has been automatically removed due to an indirect link to a hosted image.

    Unfortunately, the media host {{domain}} is not compatable with mobile apps and/or RES. Please be considerate of mobile and RES users and resubmit your content using a different media host.
---

Warning for download links

---
friendly_name: Download link warning
#matches  whateverwebaddress.domain/anyamountofcharacters/and/or/slashes/until/download/file.ext
type: link submission
url (regex, includes): ['\.\w{2,9}/.*\.[a-zA-Z]{2,4}(?:[?#].*)?$'] # If Neo sends a warning, replace the regex with this one ['\.\w{2,9}/.{0,1000}\.[a-zA-Z]{2,4}(?:[?#].{0,2000})?$'] 
comment: |
    "Hi. It has been automatically identified that this post may link straight to a download file, please use reasonable caution and make sure your device is protected."
           
comment_stickied: true    
---

Command to summon Neo to leave a comment

---
friendly_name: Neo command to summon Neo to leave a comment
# Reply to a !wiki command that tags the user (by commenting: !wiki u/Username) 
# You can use Neo to set up commands that reply with a comment. Using this regex, it can ping the user the comment is for
type: comment
body (regex): '!wiki\W+(u/\S+)' # The parenthesis mean that with {{match-body-2}} it will only output the user tag without the !wiki command
comment: |
  Hello {{match-body-2}}....

  [Wiki](https://www.reddit.com/r/pilates/wiki/index/)
         
action: remove # Removes the mod command, remove this if you want users to know who summonded the comment
moderators_exempt: false # allowing Automod to remove the mod command, and allows mods to use the command themselves.
---

Require a second source link if wikipedia is one of the source links.

---
friendly_name: Require a second source link if wikipedia is one of the source links. 
type: submission
body (includes, regex): 'https?://[^\s]*wikipedia' # If Neo sends a warning, replace the regex with this one 'https?://[^\s]{0,400}wikipedia'
~body (includes, regex):  ['https?://[^\s]*wikipedia[\s\S]*https?://(?![^\s]*wikipedia)[^\s]+', 'https?://(?![^\s]*wikipedia)[^\s]+[\s\S]*https?://[^\s]*wikipedia'] # If Neo sends a warning, replace the regex with this one ['https?://[^\s]{0,400}wikipedia[\s\S]{0,2000}https?://(?![^\s]{0,400}wikipedia)[^\s]{1,500}']
comment: 'Please edit your post to add a second source link. If Wikipedia is your source link, we require an additional source.'
---

Let OP set the post flair to "solved" with a Neo command

---
friendly_name: Let OP set the post flair to "solved" with a Neo command
# Solved/Answered/Found
type: comment
author:
 is_submitter: true
body (includes-word,regex): ['!solved']
parent_submission:
 set_flair: 
  template_id: "insert id here"
 overwrite_flair: true
comment: |
  I have marked the post as solved.
---

Solved/Answered/Found rule (automatically flairs the post as Solved)

---
friendly_name: Solved/Answered/Found rule (automatically flairs the post as Solved)
# Update the template_id (123-456-789) of the flair (you get it by clicking Copy ID next to the flair in the Post Flair page in the mod tools), and change the word song wherever it comes up to whatever needed
# Lines that start with a "(?=...)" check (Positive Lookahead) are like that so that the Negative Lookbehinds afterwards will only run once the relevant keywords are detected. This means that if you update the keywords in that line you need to update them in the Positive Lookahead as well. If this makes things too complicated you can remove those Lookaheads (they end once the first "(?<!...)" appears).
type: comment
author:
  is_submitter: true
body (regex, includes-word): ['Answe?re?d', 'Solved', 'Found']
~body (regex, includes):
  - '(?:(?:Not|(?<=nt)|(?<=Haven[''’]t)|Before)(?: (?:I([''‘’´`]?m)?|am|go(ing to|nna)|yet|quite|get|as|(call|say|mark|flair)(ing)?|the|post|case|it([''‘’´`]?s)?|i?s|that|this|the|been))*|Would have|Gets?|(No|any)\W?(body|one)( has| have)?|(None|neither) (have|was|of the bots( \w+)?)|No way \w+ (will|would) \w+|Maybe|(?=Be|May|Might|Can|Could)(?<!thought it will )(?<!thought it would )(?<!didn\Wt think it will )(?<!didn\Wt think it would )(Be(ing)?|(May|Might|Can|Could) get)|(Should I|If I should) \w+ (it|the post)( as)?|Easily|(After|Once)( it\W?i?s?)?)[*_]* \W?(Answe?re?d|Solved|Found)'
  - '(Answe?re?d|Solved)(?!\?)\W* (but|though|(just )?yet|or\b(?! (if it\W?i?s|is it) done))'
  - 'found (it |the song )?(an?\b|anything|at|during|while|in(?! case)|no|nothing|on(?! my own)|that|(the )?wrong|this|here|.*?\bBut)\b' # If Neo sends a warning, replace the regex with this one 'found (it |the song )?(an?\b|anything|at|during|while|in(?! case)|no|nothing|on(?! my own)|that|(the )?wrong|this|here|[\s\S]{0,200}\bBut)\b'
  - '(if \S+ found|where I\W?(ve)? found|that I\W?(ve)? found (it|the song) on)'
  - '(No way \w+ (will|would) \w+|(?=be)(?<!thought it will )(?<!thought it would )(?<!didn\Wt think it will )(?<!didn\Wt think it would )\bBe(ing)?|Maybe|Never|Originally|No \w+ ?(were|was)?) Found'
parent_submission:
  ~flair_template_id: 123-456-789 # Checks that the flair isn't already set to "Solved"
  set_flair:
    template_id: 123-456-789
  overwrite_flair: true
comment: |
  I've automatically flaired your post as "Solved" since I've detected that you've found your answer. If this is wrong please change the flair back.
moderators_exempt: true
---

Thanks rule (reminds the user to flair the post as Solved)

---
friendly_name: Thanks rule (reminds the user to flair the post as Solved)
# Update the template_id (123-456-789) of the flair (you get it by clicking Copy ID next to the flair in the Post Flair page in the mod tools), and change the word song wherever it comes up to whatever needed
# Lines that start with a "(?=...)" check (Positive Lookahead) are like that so that the Negative Lookbehinds afterwards will only run once the relevant keywords are detected. This means that if you update the keywords in that line you need to update them in the Positive Lookahead as well. If this makes things too complicated you can remove those Lookaheads (they end once the first "(?<!...)" appears).
type: comment
is_top_level: false
parent_submission:
  ~flair_template_id: 123-456-789
author:
  is_submitter: true

body (regex, includes):
  - '\bT+\W*h*\W*a*\W*n*\W*(k+((y+o+)?u+)?\W*s*|x+|y+[sv]*m*)\b'
  - '(?=much)(?<!be )(?<!be very )much (appreciated|obliged)'
  - '(?=appreciate)(?<!but I )appreciate it'
  - '\S{1,49} (-|by)( \S{1,49}){1,10} is the answer(?![\s\S]{0,500}\bBut\b)'
  - '(?=This|That)(?<!thought )(?<!think )(This|That) is( actually)? the answer(?!.*\bBut\b)'
  - 'Bingo'
  - 'you rock'
  - 'bless you'
  - 'gracias'
  - '^(Y(e+|a+)[sp]+\W+)?Cheers'
  - 'y(e+|a+)[sp]+!'
  - '(y(e+|a+)[sp]+|yeahh+)\W* it is\W*!'
  - 'y(e{1,20}|a{1,20})[sp]{1,20}!{1,20}\W{0,20} OMF?G'
  - '(it|that|this)[''‘’´`]?( i)?s (exactly|definitely|literally|actually) (it\b|right|the (song|one)|what(?! I wrote| I said| I didn))(?! (that )?I\W?a?m)'
  - '(?=exactly)(?<!n[o\W]t )(?<!isnt )exactly what I was looking for(?!\W+but)'
  - '(?=this|that|it)(?<!if )(?<![n''‘’´`]t think )(?<!while )(this|that|it)([''‘’´`]?s| is| was)( actually)? (correct|the right)'
  - '^Correct!+$'
  - '(O+M+F*G+|oh my god)\W* (y+(e+|a+)[sp]+|[t7]+h+a+n+k+|[t7]+h*a*n*(x+|k+s+)|[t7]+y+)\w*'
  - '\bI (fucking )?(love|luv) (((y+o*)?u+|ya)\b|reddit|this sub)'
  - '^.{0,5}\bILY\b.{0,5}$'
  - '(Y{1,20}[o0ua]{1,20}|U{1,20})(,(?! (an?\b|the|da|just|best|man|god|rock)))?[ ''‘’´`]?(a?re?)?(?<!your(?! (my|an?\b|the|da|just)))( my| an?( \w{1,30})?| (just )?( (th|d)[eai]|teh))?( |fuckin\S?|freakin\S?|absolute|real){0,5}\b(Life\W?saver|saviou?r|legend|hero|saint|(\w{1,30} )?best|(?<!\ba )man(?! that| I\b)|god|awesome|rock|amazing|king|MVP|spot on|GOAT)'
  - '^(\S+ ){0,4}?(Absolute|What an?)? ?(life\W?saver|legend|hero|saint|king|MVP|GOAT)\b'
  - 'god bless ((y+o*)?u+|ya)'
  - 'doin\S? (the lord|god)\W?s work'
  - '^(yo)?u beautiful'
  - 'damn (yo)?u\W?re? good'
  - '(?=((this|that) (is|was)|that[''‘’´`]?s|it[''‘’´`]?s)(?<!thought )(?<!think )(?<!if )(?<!that )(?<!but )(?<!and )((this|that) (is|was)|that[''‘’´`]?s|it[''‘’´`]?s|it is(?= th\w+ song)) (it\b|(the|that) (song|one))(?!\W+(that|but|after|before|from|used)))'
  - '(?=this|that|it)(?<!if )(?<![n''‘’´`]t think )(?<!while )(this|that|it)([''‘’´`]?s| is| was)( actually)? (correct|the right \S+)\W+thank'
  - '(you|\bU|bots?|a+y+e*|^\S+(?= nailed)) (fuckin.? )?(got|nailed) it(?! with| on|( \w+)? wrong|\W+but|\W+tho)' # If Neo sends a warning, replace the regex with this one '(you|\bU|bots?|a{1,20}y{1,20}e{0,20}|^\S{1,49}(?= nailed)) (fuckin.? )?(got|nailed) it(?! with| on|( \w{0,20})? wrong|\W{1,20}but|\W{1,20}tho)'  
  - 'nailed it!'
  - '^a+y{2,}e*$'
  - '^Spot on'
  - 'you(?:[''’]ve)? (?:just )?made my (?:day|night|noon|afternoon|evening|week|month|year|life)'
  - '(^I (wanna|want to)|I could) kiss you'
  - '(award|gold) (y[oua]+r?|ur?|if|but)\b'
  - 'give (y[oua]+|u) (an award|gold)'
  - 'if I .{1,20}( y[oua]+| u| an?)+ (award|gold)'
  - '((?=\bI)(?<!when )I(\Wve| have)?|just|fuckin.?) found it'
  - '^Found( it)?\W*((\[[^\]+]\])?http\S+)?$'
  - '(?=found)(?<!when I )(?<!t )found it(\.| ?!|:| -| myself| on my own| just now)'
  - 'I actually found it'
  - 'remembered it on my own'
  - 'Found(!| the (answer|song))'
  - 'found out what'
  - 'figured it out'
  - 'Just figured out'
  - '^(nvm|never\W?mind|nvrmi?nd)\W+found'
  - 'I can( \w+)? die in peace'

~body (regex, includes-word):
  - '(T+\W*h*\W*a*\W*n*\W*(k+\W*s+|k+\W*y*o*u+|x+|y+[sv]*m*)|(?=much)(?<!be )(?<!be very )much (appreciated|obliged)|appreciate it|you rock|bless you|Cheers)( (so|very) much)?\W* (in advance|([a-z]+\W* ){0,4}?(but|though|tho\b|anyways?)|for (?!the (answer|help)|solving|answering|identifying|finding|helping|some reason|being)|maybe|still|do\b|I\W?ll|(I )?will|nonetheless|sorry|any ideas? what|apologies|noted|fixed|edited|added|updated|done)' # If Neo sends a warning, replace the regex with this one '(T{1,20}\W{0,5}h{0,20}\W{0,5}a{0,20}\W{0,5}n{0,20}\W{0,5}(k{1,20}\W{0,5}s{1,20}|k{1,20}\W{0,5}y{0,20}o{1,20}u{1,20}|x{1,20}|y{1,20}[sv]{0,5}m{0,20})|(?=much)(?<!be )(?<!be very )much (appreciated|obliged)|appreciate it|you rock|bless you|Cheers)( (so|very) much)?\W{0,20} (in advance|([a-z]{1,20}\W{0,5} ){0,4}?(but|though|tho\b|anyways?)|for (?!the (answer|help)|solving|answering|identifying|finding|helping|some reason|being)|maybe|still|do\b|I\W{0,5}ll|(I )?will|nonetheless|sorry|any ideas? what|apologies|noted|fixed|edited|added|updated|done)'  - '(but|o\.?k\.?|okay,?|alright|oops|\bAh|anyways?|nonetheless|still( needed| need help)?|try|why|do|will|sorry|any ideas? what|apologies|noted|fixed|edited|added|updated|done)\W*(T+h*a*n*(k+s+|x+)|T+h+a+n+k+ y*o*u+\b|\bT+y+[sv]+m+\b|(?=much)(?<!be )(?<!be very )much (appreciated|obliged)|appreciate it|you rock|bless you|Cheers)'
  - 'but I appreciate'
  - '(?:(?:Not|(?<=nt)|(?<=Haven[''’]t)|Before)(?: (?:I([''‘’´`]?m)?|am|go(ing to|nna)|yet|quite|get|as|(call|say|mark|flair)(ing)?|the|post|case|it([''‘’´`]?s)?|i?s|that|this|the|been))*|Would have|Gets?|(No|any)\W?(body|one)( has| have)?|(None|neither) (have|was|of the bots( \w+)?)|No way \w+ (will|would) \w+|Maybe|(?=Be|May|Might|Can|Could)(?<!thought it will )(?<!thought it would )(?<!didn\Wt think it will )(?<!didn\Wt think it would )(Be(ing)?|(May|Might|Can|Could) get)|(Should I|If I should) \w+ (it|the post)( as)?|Easily|(After|Once)( it\W?i?s?)?)[*_]* \W?(Answe?re?d|Solved|Found)'
  - '(Answe?re?d|Solved)(?!\?)\W* (but|though|(just )?yet|or\b(?! (if it\W?i?s|is it) done))'
  - 'sadly'
  - 'nope'
  - 'but not'
  - 'unfortunately'
  - 'Neither are'
  - '(not|is ?n[o''‘’´`]?t) (the|this|that) (one|song)'
  - 'not (it\b|what|quite|that)'
  - '(that|it|this) (ai ?n[o''‘’´`]?t|is ?n[o''‘’´`]?t) (it|that|this)'
  - '(it|that|this)( is ?n[o''‘’´`]?t|\W?s not)'
  - 'do ?n[o''‘’´`]?t (think|believe) (so|that|it|this)'
  - 'if that\W?s (it|the song|the one)'
  - 'not( 100%)? sure (that|it|this)'
  - 'but I[''‘’´`]m not( 100%)? sure'
  - '(does ?n[o''‘’´`]?t|do ?n[o''‘’´`]?t) sounds? like'
  - '(incorrect|wrong) (song|one)'
  - 'found (it |the song )?(an?\b|anything|at|during|while|in(?! case)|no|nothing|on(?! my own)|that|(the )?wrong|this|here|[\s\S]{0,200}\bBut)\b'
  - '(if \S+ found|where I\W?(ve)? found|that I\W?(ve)? found (it|the song) on)'
  - '(never|originally|not|no \w+ (were|was)|was ?n[o''‘’´`]?t|is ?n[o''‘’´`]?t|have ?n[o''‘’´`]?t|has ?n[o''‘’´`]?t|yet|\S*t been|be|gets|none have|no\W?(one|body) has|(none|neither) of the bots( \w+)?) found'
  - 'does ?n[o''‘’´`]?t help'
  - '(will|would) (\S+ )?appreciated?'

comment: |
  I detected that you might have found your answer. If this is correct please change the flair to "Solved".     
         
---

User flair tiers

---
# user flair tiers
# Note for this to work for need to have the higher ones above the lower ones in the flair sort. How this works is it checks your flair and if you have the required subreddit karma it will change to the next level flair.
friendly_name: set top user flair
author:
 flair_template_id: 'aa1b234-56cd-78e9-fh2b-0jk12lm34567' # go to look & feel in your subreddit settings, go to post flair, click on the one you need and select copy flair ID, then paste it in between ''
 comment_subreddit_karma: ">10000"
 set_flair:
  template_id: 88afd6fa-54dc-11f0-9b0d-e20b7e13fa67
 overwrite_flair:  true
moderators_exempt:  false
comment: You have been promoted to 'flair text'

---
friendly_name: set starter user flair
author:
 flair_template_id: ' ' # go to look & feel in your subreddit settings, go to post flair, click on the one you need and select copy flair ID, then paste it in between ''
 comment_subreddit_karma: ">1000"
 set_flair:
  template_id: ee9b2574-54db-11f0-ba2b-0ec34ab94980
 overwrite_flair:  true
moderators_exempt:  false
comment: You start as 'flair text'
---

Account scrubbing

---   
friendly_name: Account scrubbing
# removes comments/posts that are scrubbed with tools like redact
# by default, Neo checks on submit and on edit, so this rule will match on comments/posts that have been edited
title+body+url+domain (regex): ["mass deleted", "anonymized with", 'deleted for privacy', OpenAI, Huffman, IPO,'redact.dev', 'codepen.io/j0be', 'github.com/j0be', 'codepen.io/pkolyvas', 'the-federation.info'] 
action: remove
action_reason: account scrubbing [{{match}}]
---

Text posts with image or video

---
friendly_name: Text posts with image or video
# reports text posts that contain embedded images or video
type: text submission
body: ["![img]", "![video]"]
action: report
action_reason: "Embedded image or video in a text post"
---

Appearance/body shaming, Ableism, Homophobia/etc., common profanity, violent rhetoric, Dont say -tard

---
friendly_name: Unkindness
title+body (includes-word, regex):
  # Appearance/body shaming (filtering section)

  - '(fatt(y(?! (((junk|fast)\W?)?food|(\w+ )?(beef|mea[lt])|diet|snack)|\W+Arbuckle)|ies)|fatsos?|(^\W*|(an?|one) )obea?se|lard\W?ass|obeast|(fat|obese)\W?(([a@]|4(?!5))([s5$z]{2}|r+[s5$z][e3])(?<!my fat ass)|bastard(?<!(?-i:Fat Bastard))|pig|cow|B([i1!¡jl]|(e[ea])|(?=t))((a[t7]?|[t7]|(?<=bi))[cs]hy?|hh)|[\W_]*f?Ugl(y|iest)|freak|(?<!bad (?=\S+ers?\b))(M[o0uva4@][t7]h([e3]r|[a4@e]+)\W?)?(F+|P+h+|(?=M[o0uva4@])|(?=Ef))((U\\*[*_]?|[A4@O0E3I]+|(\\*[*_])+(?=c?k)|V?(?=[ckq])|\\*[^UA4@O0E3IV\s](?=[ckq]{2,}))+([ckq]+|cuk|g(g|(?=i)))|(?<!mother F(?=(reak|lip)(in|s|\b)))(?!(?<=F)(reak|lip)\S* (out|off))((?<=F)(r[iea]+([ck]+|(?<=i)g+)|lip+|[''‘’´`\-](?=in|er)|(?=ing))|(M[o0uva4@][t7]h([e3]r|[a4@e]+)\W?|\b)Ef+(?=er|ing))(?=[\w!¡jl''‘’´`]))([i1!¡jl''‘’´`]?n[\w''‘’´`]?|[e3''‘’´`]?[rd])?(?<!\bfa[kc][ei][rd])(?<!\bfa[kc]in[\w''‘’´`])(?<!\bFAQ)(?<!F\w\b)(?<!(?-i:\b[FP][A-Z]{2}\b))(?<!(?<![ra4@]\W)\bflipper)(?<!\bfogging)(?<!\bfogge[dr])[s5z]?)([e3]?[s5z])?)'
  - '(?=f?Ugl(y|iest))(?<!my )f?Ugl(y|iest)\W?(([a@]|4(?!5))([s5$z]{2}|r+[s5$z][e3])|bastard|pig|cow|B([i1!¡jl]|(e[ea])|(?=t))((a[t7]?|[t7]|(?<=bi))[cs]hy?|hh)|[\W_]*fat|freak|(?<!bad (?=\S+ers?\b))(M[o0uva4@][t7]h([e3]r|[a4@e]+)\W?)?(F+|P+h+|(?=M[o0uva4@])|(?=Ef))((U\\*[*_]?|[A4@O0E3I]+|(\\*[*_])+(?=c?k)|V?(?=[ckq])|\\*[^UA4@O0E3IV\s](?=[ckq]{2,}))+([ckq]+|cuk|g(g|(?=i)))|(?<!mother F(?=(reak|lip)(in|s|\b)))(?!(?<=F)(reak|lip)\S* (out|off))((?<=F)(r[iea]+([ck]+|(?<=i)g+)|lip+|[''‘’´`\-](?=in|er)|(?=ing))|(M[o0uva4@][t7]h([e3]r|[a4@e]+)\W?|\b)Ef+(?=er|ing))(?=[\w!¡jl''‘’´`]))([i1!¡jl''‘’´`]?n[\w''‘’´`]?|[e3''‘’´`]?[rd])?(?<!\bfa[kc][ei][rd])(?<!\bfa[kc]in[\w''‘’´`])(?<!\bFAQ)(?<!F\w\b)(?<!(?-i:\b[FP][A-Z]{2}\b))(?<!(?<![ra4@]\W)\bflipper)(?<!\bfogging)(?<!\bfogge[dr])[s5z]?)e?[s5z]?'
  - '(small|tiny|smol+|baby|micro|shrimp|limp|needle|inverted|in(ch|\.))\W?(d[i1!¡jl][ck]+(?<!DLC\b)|c[o0]ck|p[e3]n[i1!¡jl][s5z]|pr[i1!¡jl]ck|w[ei]{2}ner|ween(ie)?|peen(er)?|sc?hlong|will(y|ies)|pecker|(ding\W)?dong|Pee\W?Pee|PP|wee\W?wee|members?\b(?! of| from))([s5z]|e[sd])?'

  ## Ableism: Autism/mental illness/etc. (filtering section) ##

  - '(?=\br)(?<!\b[a\Wi]m )r{1,3}[\W_]{0,3}[e3a4@i1!¡jlw]{0,3}[\W_]{0,3}[t7]{1,3}[\W_]{0,3}[a4@e3]{0,3}[\W_]{0,3}r{1,3}[\W_]{0,3}[dt]{1,3}[\W_]{0,3}([e3i1!¡jl]{1,3}[\W_]{0,3}[dt]{1,3})?([\W_]{0,3}([s5z]|(?<=retarded)\w{1,20}|(?<!retard)ation))?(?<!Jay Reatard)' # includes misspellings like "reatrds" and "rwtard" (retardation is handled in the reporting section)
  - '[t7]{1,3}[a4@]{1,3}r{1,3}[dt]{1,3}([s5]|[e3]{0,3}d{1,3}){0,5}'
  - '(?=re)(?<!Des[''‘’´`])ree+s?\b(?<!\w (?-i:Ree))(?<!\w (?-i:Rees))(?<!(?-i:Rees(?= [A-Z])))'
  - '(th|d|(?=it\W*i?s(?! autism)))((is|at(?! autism)|(?<=th)[ts]|it)([ ''‘’´`]?i?s)?|ese|ose|em) Autis(t(ic|ism)?|m)[s5z]?' # [your autism is showing/OP is an autist/what an autist/etc. is in the main "you"/etc. syntaxes]
  - 'ass\W?burger[s5z]?' # asperger's ("sperg" combinations in fuckface syntax)
  - '(nut\W?(case|job)|wack\W?job|mental case)s?'
  - '((y[o0u]+r|ur)|OP (needs to|should) (get|have) \w+)( \S+)? head checked'
  - '(touche?d|(F{1,4}|P{1,4}h{1,4})(U\\*[*_]?|[A4@O0E3I]{1,6}|(\\*[*_]){1,3}(?=c?k)|V?(?=[ckq])|\\*[^UA4@O0E3IV\s](?=[ckq]{2,4})){1,3}([ckq]{1,4}|cuk|g(g|(?=i)))[e3''‘’´`]?[dt](?! up)) in (((th|d)[eai]|teh)(ir)?|(y([o0u]{1,5}r|o)|ur)|his|her)( god[\W_]{0,2}d?amn?)? (head|brain)'
  - 'mental+ (il+nes+|disorder) to me' # (also see '(it|that|this)[ ''‘’´`]?i?s a mental+ (il+nes+|disorder)' in the homophobia section)
  - '(?=schizo)(?<!\b[a\Wi]m a )(?<!I was a )(?<!(?<!t )been a )(?<!I (was always|always was) a )(?<!(\Bas|\b[a\Wi]m) being a )(?<!(ry|\bme) for being a )(?<!I got a )(?<!I have a )(?<!I\Wve got a )(?<!I have got a )(?<!\b[a\Wi]m (such|just) a )(?<!\b[a\Wi]m too much of a )(?<!can be a )(?<!(could|might) be a )(?<!can be such a )(?<!ed like a )(?<!(?<!u )sound like a )(?<!(?<!u )(fe(el|lt)|look) like a )(?<!ed like such a )(?<!(?<!u )sound like such a )(?<!(?<!u )(fe(el|lt)|look) like such a )(?<!(?=(feel|look|ound)ing)(?<!be )(?<!you )(?<![a''‘’´`]re (?!feeling))\w{7} like a )(?<!(?=(feel|look|ound)ing)(?<!be )(?<!you )(?<![a''‘’´`]re (?!feeling))\w{7} like such a )(?<!myself a )(?<!\bme a )(?<!\bUs )(?<!called a )(?<!(?<!u )(may|can) be a )(?<!(?<!u )(could|might) be a )(?<!n[o\W]t a )(?<!["“”‟„])(?<!n[o\W]t )schizo(?!(f|ph)r[ea]n)\w*[s5z]?'

  ## Homophobia/etc. (filtering section) ##

  - '(new)?(fh*|p+h+)([a@]+|\b[4e3]\b)(?!(?<=FA), )(h\B)*[\W_]*g(?!\W(and a pint|ash|break|butt|end|packet|paper|smok\w*)s?\b)g*(?!(?<=\bG) ?[=\-]? ? Sol\b)([s5z]+|ed|ing?(?<!(?-i:Fagin)\b)|y|[o0a4@e3]?ry|ie(r|st))?(?<!fhag)'
  - '(f(?!\W*got\b|h+g+t)|p+h+|(\\*[*_]|[^\w\s])+(?=ag+ot))h*([a4@e3]|(\\*[*_]|[^\w@\s])+(?=g+ot))*(\Bh\B)*(g+|[qb69]+(?=[o0][t7])|(\\*[*_]|[^\w\s])+(?=g?ot))h*([o0]|(?<=\w{3})[a4e3i1jlu]|(?<=\w{3})|(\\*[*_]|[^\w\s])+(?=t))+([t7]|(?<=faggo))+(?<!fght)(?<!fhght)(?<!FAQbot)([s5z]+|ed|ing?(?<!(?-i:Fagin)\b)|[o0a4@e3]ry|r?y|ie(r|st)|(?<=faggot)\w+)?' # no need for separators due to the short version check [] the "\\*" is in case the asterisk is escaped with a backslash due to Markdown italics
  - '(?=\w{7})\w{1,64}?f([a@4]|e(?=gg))[gq69]+([o0]|(?<=[ae]gg)i|e(?<=McFagge))t[s5z]?' # (the short version of the word is in the possible hate section because of false positives with video IDs in urls)
  - 'p(u|oo)ff?t(er|ah)[s5z]?'
  - '(fudge\W?packer|muff\W?diver|(carpet|rug)\W?muncher|pillow\W?biter|shirt\W?lifter|shit\W?stabber|turd\W?burglar)[s5z]?' # (alternative versions in the reporting section)
  - '(bull)?(?=d[yi]ke)(?<!(?-i:[a-z] (?=Dyke)))D[yi]ke[s5z]?(?<!Van\WDyke)'
  - '((?=T)(Tr[a@4]nn(y|[i¡1!jl]es?|er)|Trans(v[eai]st[iy]te|fag|mental)|Trapsexual)|She\W?males?)[s5z]?'
  - 'gaye(st|r)'
  - 'gh?[a@4e][yi]W?(\Bboys?|as|[s5$z]+h+([i1!¡jla]|(?!(eets?|iites?)\b)[i1!¡jle3]{2,}|\\?\*)([t7]|(?<!a)z+|\\*[*_])e*)'
  - 'bat+(y|ie?)\W?(bo[yi]s?|m[ae]n)' # for homosexual
  # "you're gay/what a gay/etc." are in the reporting "you" and "start restrictions" syntaxes
  - 'femboys?'
  - 'globo\W?homo[s5z]?' # globalization with a "gay agenda", promotion of homosexuality

action: filter
action_reason: possible hate speech [{{match}}] 
modmail_subject: possible hate speech
modmail: Possible hate speech [{{match}}]
---

---
friendly_name: profanity filter
# filters common profanity
title+body (regex): 
  - '((bul+|dip|horse|jack).?)?sh(\\?\*|[ai]|(?!(eets?|iites?)\b)[ei]{2,})(\\?\*|t)e?(bag|dick|head|load|lord|post|stain|ter|ting|ty)?s?'
  - '((dumb|jack|smart|wise).?)?a(rse|ss)(.?(clown|fuck|hat|hole|munch|sex|tard|tastic|wipe))?(e?s)?'
  - '(?!Cockburns?\b)cock(?!amamie|apoo|atiel|atoo|ed\b|er\b|erels?\b|eyed|iness|les|ney|pit|rell|roach|sure|tail|ups?\b|y\b)\w[\w-]*'
  - '(cabr[oó]n(e?s)?|chinga\W?(te)?|g[uü]ey|mierda|no mames|pendejos?|pinche|put[ao]s?)'
  - '(?<!\b(moby|tom,) )(?!(Dick [A-Z][a-z]+\b))dick(?!\W?(and jane|cavett|cheney|dastardly|grayson|s?\W? sporting good|tracy))s?'
  - '(cock|dick|penis|prick)\W?(bag|head|hole|ish|less|suck|wad|weed|wheel)\w*'
  - '(f(?!g\b|gts\b)|ph)[\x40a]?h?g(?!\W(and a pint|ash|break|butt|end|packet|paper|smok\w*)s?\b)g?h?([0aeiou]?tt?)?(ed|in[\Wg]?|r?y)?s?'
  - '(m[oua]th(a|er).?)?f(?!uch|uku)(\\?\*|u|oo)+(\\?\*|[ckq])+\w*'
  - '[ck]um(?!.laude)(.?shot)?(m?ing|s)?'
  - 'b(\\?\*|i)(\\?\*|[ao])?(\\?\*|t)(\\?\*|c)(\\?\*|h)(e[ds]|ing|y)?'
  - 'c+u+n+t+([sy]|ing)?' # If Neo sends a warning, replace the regex with this one 'c{1,20}u{1,20}n{1,20}t{1,20}([sy]|ing)?'
  - 'cock(?!-ups?\b|\W(a\Whoop|a\Wsnook|and\Wbull|eyed|in\Wthe\Whenhouse|of\Wthe\W(rock|roost|walk))\b)s?'
  - 'd[o0]+u[cs]he?\W?(bag|n[0o]zzle|y)s?'
  - 'piss(ed(?! off)(?<!\bi(\sa|\W?)m pissed)|er?s|ing)?'
  - 'pricks?'
  - 'tit(t(ie|y))?s?'
action: filter
action_reason: 'Profanity [{{match}}]'
---

---
friendly_name: violent rhetoric
# filters violent rhetoric
title+body (regex): 
  - '(blow|hang|neck|murder|shoot|drown|r[ao]pe|cut|burn) (the(y|m|ir)|my|y?o?ur|it|h(i[ms]|er)) ?(sel(f|ves?))'
  - 'k[yhmt]s'
  - 'keep your( ?sel(f|ves?) safe)'
  - '(deserves? to|(hope|wish) (they|(yo)?u|s?he)) ((should|would|could) )?(just )?(fuckin[g'']? |godd?amn? )?(commit (die|suicide)|die[sd]?|(be|g[eo]ts) (fuckin[g'']? |godd?amn? )?(shot|killed|murdered|beat( up)?|raped|run over|hung))'
  - 'play in (some )?traffic'
  - 'eat a (bullet|gun)'
  - 'gu?i?ll?otine?[ds]?'
  - 'pull the (fuckin[g'']? |godd?amn? )?trigger'
  - 'eat the rich'
  - "blow (yo)?urself up"
  - 'gas (all|the|all the) (jews|kike?l?s|niggers|spi[ck]s)'
  - "get (a|the) ?(rope|noose)"
  - "h(a|u)ng (for treason|him|her|them|(yo)?urself)"
  - "I\\s*hope\\s*(you|she|he|they)\\s*dies?"
  - "(kill|nuke|glass) ?all"
  - "gets? found (raped|murdered)"
  - "defends? a killer"
  - "take (her|him|his|this) (ass|bastard|bitch) out"
  - "rot (in hell|in a cell|forever)"
  - "light them up"
  - "blows? (the(y|m|ir)|my|y?o?ur|it|h(i[ms]|er)).?((mother|motha|mutha)?.?(fuck[ie]n[g'']?)?)? brains? out"
  - "drop(ping|s)? the soap"
  - "cops? (shoot|murder)(ing)? (citizens|people)"
  - "punchable"
  - 'only good (skin.?heads?|nazis?|fascists?)'
  - "punch(s|es|ed)?.a? .?nazi(s)?"
  - "punch(s|es|ed)? in the face"
  - "nazi(s)? (lives?|life) do(es)?n.?t matter"
  - "dead nazi(s)?"
  - "violence is the only language"
  - "bag over (her|his) head"
  - "gargle glass"
action: filter
action_reason: 'violent rhetoric [{{match}}]'
---

---
friendly_name: Dont say -tard. Ableism filter.
# To exempt discussion of mental retardation, add this to line 3.  'mental(ly)? retard(ed|ation)',
type: any
body+title (regex, includes): ['\w*tard\w*']  # If Neo sends a warning, replace the regex with this one ['\w{0,20}tard\w{0,20}']
~body+title (includes-word, regex): ['honeymustard', 'retard(ant(s)?|i(ng|ve)?)','((pe|ho|co|ba|do|leo|uni|cu|da|mo|mu)s?)tard(s|y|ly)?', 'tard(a|igrades?|ive|iness|is|ies|y|ey)', 'megastardom|stard(?:ust|om|ew)', 'bastard(?:i[sz](?:ation|e|ed|es|s|ing))?' ]   
action: remove
moderators_exempt: false
action_reason: Abelism filter - [{{match}}]
---