From db385e9bfccc9f136cf9f4b437fd05814432a761 Mon Sep 17 00:00:00 2001 From: TheYande Date: Sun, 22 Sep 2024 20:11:47 +0000 Subject: [PATCH] Format --- modules/automod/bad-words.ts | 148 +++++++++++++++++------------------ 1 file changed, 74 insertions(+), 74 deletions(-) diff --git a/modules/automod/bad-words.ts b/modules/automod/bad-words.ts index a50445686..e49b47a4c 100644 --- a/modules/automod/bad-words.ts +++ b/modules/automod/bad-words.ts @@ -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/);