dual use bread

This commit is contained in:
Ciro Santilli
2021-06-19 19:52:16 +01:00
parent 74f1be90ea
commit 2aa6c1147a
2 changed files with 55 additions and 3 deletions

View File

@@ -69,6 +69,8 @@ const shabiWords = [
'傻',
'沙雕',
'智障',
'啥b',
'stupid',
];
for (const word of shabiWords) {
if (new RegExp(word, 'i').test(titleAndBody)) {
@@ -81,6 +83,7 @@ const fuckMotherWords = [
'操你妈',
'fuck.*\\b(mom|mum|mother)\\b',
'尼玛',
'去你吗',
]
for (const word of fuckMotherWords) {
if (new RegExp(word, 'i').test(titleAndBody)) {
@@ -102,6 +105,7 @@ for (const word of motherDiedWords) {
const shitpostWords = [
'fuck',
'shit',
'bitch',
'垃圾',
'婊子',
'恶心',