Fix isNaN check
All checks were successful
CI / CI (push) Successful in 1m23s

This commit is contained in:
SileNce5k 2025-05-17 11:00:58 +02:00
parent 425e1c3293
commit 72a0d10c19
Signed by: SileNce
GPG key ID: B0A142BB4291B204

View file

@ -38,7 +38,7 @@ module.exports = {
sendText = "Please specify a time, and a message to send after the timer has finished";
break;
}
if(!isNaN(parseTime(args[0], Math.floor(new Date() / 1000)) || !isNaN(args[0])))
if(!isNaN(parseTime(args[0], Math.floor(new Date() / 1000))) || !isNaN(args[0]))
sendText = await createTimer(message, args);
break;
}