better action

This commit is contained in:
Ciro Santilli
2021-05-23 02:00:01 +00:00
parent b341695cd9
commit e983afb0bd
3 changed files with 5 additions and 2 deletions

View File

@@ -66,7 +66,7 @@ const newLabels = new Set();
const shabiWords = [
'shabi',
'shadiao',
'傻',
'傻',
'沙雕',
'智障',
];
@@ -79,6 +79,7 @@ for (const word of shabiWords) {
const fuckMotherWords = [
'cnm',
'操你妈',
'fuck.*\\b(mom|mum|mother)\\b',
]
for (const word of fuckMotherWords) {
if (new RegExp(word, 'i').test(titleAndBody)) {