mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-09-08 15:47:37 +08:00
chore: log high wpm results
This commit is contained in:
parent
7018b83e27
commit
2a6bfbeefb
1 changed files with 9 additions and 0 deletions
|
@ -284,6 +284,15 @@ export async function addResult(
|
|||
await addImportantLog("suspicious_user_result", completedEvent, uid);
|
||||
}
|
||||
|
||||
if (
|
||||
completedEvent.mode === "time" &&
|
||||
(completedEvent.mode2 === "60" || completedEvent.mode2 === "15") &&
|
||||
completedEvent.wpm > 250 &&
|
||||
user.lbOptOut !== true
|
||||
) {
|
||||
await addImportantLog("highwpm_user_result", completedEvent, uid);
|
||||
}
|
||||
|
||||
if (anticheatImplemented()) {
|
||||
if (
|
||||
!validateResult(
|
||||
|
|
Loading…
Add table
Reference in a new issue