Skip to content

Commit

Permalink
Merge branch 'scruby' of https://github.com/theyande/scradd into scruby
Browse files Browse the repository at this point in the history
  • Loading branch information
TheYande committed Sep 22, 2024
2 parents cd32fbe + db385e9 commit 8cb73cc
Showing 1 changed file with 74 additions and 74 deletions.
148 changes: 74 additions & 74 deletions modules/automod/bad-words.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,80 +7,80 @@
* All RegExps are ROT13-encoded. Additionally, RegExp character classes are not supported here. Use capture groups
* instead.
*/
const badWords: [RegExp[]?, RegExp[]?, RegExp[]?][] = [
[
[/cbea/, /grfgvpyr/, /erpghz/, /ihyin/, /🖕/, //, /fjnfgvxn/, //, /cravf/],
[
/intva(?:f|l|n|r|y)+/,
/(?:urzv ?)?cravf(?:rf)?/,
/nahf(?:rf)?/,
/frzra/,
/(?:c(?:bfg|er) ?)?phz/,
/pyvg/,
/gvg(?:(?:gvr)?f)?/,
/chff(?:l|vrf)/,
/fpebghz/,
/ynovn/,
/xlf/,
/preivk/,
/ubeal/,
/obaref?/,
/fcrez/,
],
],
[
[
/fuv+r*g(?!nx(?:r|v))/,
/rwnphyngr/,
/fcyb+tr/,
/oybj ?wbo/,
/shpx/,
/znfg(?:h|r)eong/,
/ohgg ?cvengr/,
/qvyqb/,
/xhxfhtre/,
/dhrrs/,
/wnpx ?bss/,
/wrex ?bss/,
/ovg?pu/,
/ubeal/,
/\oencr/,
],
[
/wvm+z?/,
/(?:ovt ?)?qvp?xr?(?: ?(?:q|l|evat|ef?|urnqf?|vre?|vat|f|jnqf?))?/,
/(?:8|o)=+Q/,
/fzhg+(?:e|fg?|l|vr)?/,
/pbpx(?: ?svtug|(?:svtug)(?:re|vat)|znafuvc|hc)?f?/,
/onfgneq(?:vfz|(?:e|y)?l|evrf|f)?/,
/phagf?/,
/shx/,
/ovg?fu/,
/jnax(?:v?ref?|v(?:at|rfg)|yr|f|l)?/,
],
],
[
[
/puvat ?(?:punat ?)?puba/,
/xvxr/,
/pnecrg ?zhapure/,
/fyhg/,
/fur ?znyr/,
/shqtr ?cnpxr/,
/ergneq/,
],
[
/tbbx(?:f|l)?/,
/yrfobf?/,
/fcvpf?/,
/j?uber/,
/av+t{2,}(?:(?:h|r)?e|n)(?: ?rq|l|qbz|urnq|vat|vf(?:u|z)|yvat)?f?/,
/av+t{2,}(?:(?:h|r)?e|n)/,
/snv?t+(?:rq|vr(?:e|fg)|va|vg|bgf?|bge?l|l)?f?/,
/wnc(?:rq?|r?f|vatf?|crq|cvat|cn)?/,
],
],
];
const badWords: [RegExp[]?, RegExp[]?, RegExp[]?][] = [
[
[/cbea/, /grfgvpyr/, /erpghz/, /ihyin/, /🖕/, //, /fjnfgvxn/, //, /cravf/],
[
/intva(?:f|l|n|r|y)+/,
/(?:urzv ?)?cravf(?:rf)?/,
/nahf(?:rf)?/,
/frzra/,
/(?:c(?:bfg|er) ?)?phz/,
/pyvg/,
/gvg(?:(?:gvr)?f)?/,
/chff(?:l|vrf)/,
/fpebghz/,
/ynovn/,
/xlf/,
/preivk/,
/ubeal/,
/obaref?/,
/fcrez/,
],
],
[
[
/fuv+r*g(?!nx(?:r|v))/,
/rwnphyngr/,
/fcyb+tr/,
/oybj ?wbo/,
/shpx/,
/znfg(?:h|r)eong/,
/ohgg ?cvengr/,
/qvyqb/,
/xhxfhtre/,
/dhrrs/,
/wnpx ?bss/,
/wrex ?bss/,
/ovg?pu/,
/ubeal/,
/\oencr/,
],
[
/wvm+z?/,
/(?:ovt ?)?qvp?xr?(?: ?(?:q|l|evat|ef?|urnqf?|vre?|vat|f|jnqf?))?/,
/(?:8|o)=+Q/,
/fzhg+(?:e|fg?|l|vr)?/,
/pbpx(?: ?svtug|(?:svtug)(?:re|vat)|znafuvc|hc)?f?/,
/onfgneq(?:vfz|(?:e|y)?l|evrf|f)?/,
/phagf?/,
/shx/,
/ovg?fu/,
/jnax(?:v?ref?|v(?:at|rfg)|yr|f|l)?/,
],
],
[
[
/puvat ?(?:punat ?)?puba/,
/xvxr/,
/pnecrg ?zhapure/,
/fyhg/,
/fur ?znyr/,
/shqtr ?cnpxr/,
/ergneq/,
],
[
/tbbx(?:f|l)?/,
/yrfobf?/,
/fcvpf?/,
/j?uber/,
/av+t{2,}(?:(?:h|r)?e|n)(?: ?rq|l|qbz|urnq|vat|vf(?:u|z)|yvat)?f?/,
/av+t{2,}(?:(?:h|r)?e|n)/,
/snv?t+(?:rq|vr(?:e|fg)|va|vg|bgf?|bge?l|l)?f?/,
/wnc(?:rq?|r?f|vatf?|crq|cvat|cn)?/,
],
],
];

if (process.env.NODE_ENV !== "production") badWords[1]?.[0]?.push(/nhgbzbqzhgr/);

Expand Down

0 comments on commit 8cb73cc

Please sign in to comment.