[sus] add pedo keywords to automatic abuse reports
This commit is contained in:
parent
bce68950c2
commit
4abddf3c64
|
@ -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) => {
|
||||
|
|
Reference in New Issue