mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-28 07:20:49 -04:00
[sus] add pedo keywords to automatic abuse reports
This commit is contained in:
parent
d2e6f17e1f
commit
e3d631d1f1
@ -87,6 +87,16 @@ function* isSuspicious(profile) {
|
|||||||
) {
|
) {
|
||||||
yield 'nor/mal';
|
yield 'nor/mal';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (description.includes('pedophile') ||
|
||||||
|
flags.includes('pedophile') ||
|
||||||
|
description.includes('lolicon') ||
|
||||||
|
flags.includes('lolicon') ||
|
||||||
|
description.includes('map') ||
|
||||||
|
flags.includes('map')
|
||||||
|
) {
|
||||||
|
yield 'Pedophile';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const hasAutomatedReports = async (db, id) => {
|
const hasAutomatedReports = async (db, id) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user