dj says he was drunk so I made a fix

This commit is contained in:
Helloyunho 2021-01-24 22:20:11 +09:00
parent 2402795006
commit ad3a0d4b79

View file

@ -146,7 +146,7 @@ export class Client extends HarmonyEventEmitter<ClientEvents> {
if (this.upSince === undefined) return 0
else {
const dif = Date.now() - this.upSince.getTime()
if (dif < 0) return dif
if (dif < 0) return 0
else return dif
}
}