mirror of
https://gh-proxy.org/https://github.com/tiajinsha/JKVideo
synced 2026-07-10 00:01:20 +08:00
开源仓库,文明讨论,非诚勿扰 [skip ci]
This commit is contained in:
2
.github/workflows/close-invalid-issues.yml
vendored
2
.github/workflows/close-invalid-issues.yml
vendored
@@ -23,7 +23,7 @@ jobs:
|
|||||||
const abusiveWords = [
|
const abusiveWords = [
|
||||||
'傻逼','sb','垃圾','废物','狗屎','他妈','滚','草泥马',
|
'傻逼','sb','垃圾','废物','狗屎','他妈','滚','草泥马',
|
||||||
'fuck','shit','操你','你妈','去死','蠢货','弱智','脑残',
|
'fuck','shit','操你','你妈','去死','蠢货','弱智','脑残',
|
||||||
'煞笔','白痴','混蛋','烂货','简历','个人信息','B站','假'
|
'煞笔','白痴','混蛋','烂货','简历','个人信息','B站','假','找工作','金沙'
|
||||||
];
|
];
|
||||||
const isAbusive = abusiveWords.some(w => text.includes(w));
|
const isAbusive = abusiveWords.some(w => text.includes(w));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user