Making the dangercord detection more aggressive

This commit is contained in:
ExtrasContainer
2024-02-04 23:27:13 +00:00
parent 7ac865c726
commit c43ff702be
+1 -1
View File
@@ -21,7 +21,7 @@ async function dangercordcheckVerification(userId, accessToken) {
return 1; // Allowed to continue return 1; // Allowed to continue
} else { } else {
// Determine if report level is acceptable // Determine if report level is acceptable
if (userData.reports <= 5 || userData.last_reported < Date.now() - (30 * 24 * 60 * 60 * 1000)) { if (userData.reports <= 2 || userData.last_reported < Date.now() - (30 * 24 * 60 * 60 * 1000)) {
return 1; // Allowed to continue return 1; // Allowed to continue
} else { } else {
return 0; // Not allowed to continue return 0; // Not allowed to continue