New config file and update README

This commit is contained in:
Ralex
2024-09-22 14:16:10 +02:00
parent b5abfbb724
commit e775763914
10 changed files with 1099 additions and 476 deletions

View File

@@ -3,7 +3,10 @@ let cooldownResolve
export const abortCooldown = () => {
clearInterval(cooldownTimeout)
cooldownResolve()
if (cooldownResolve) {
cooldownResolve()
}
}
export const cooldown = (ms, io, room) => {