[sus] add pedo keywords to automatic abuse reports

This commit is contained in:
Avris 2021-08-12 10:45:26 +02:00
parent bce68950c2
commit 4abddf3c64
1 changed files with 10 additions and 0 deletions

View File

@ -87,6 +87,16 @@ function* isSuspicious(profile) {
) {
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) => {