Making the dangercord detection more aggressive
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user