Open eliankeil opened 2 years ago
Thanks for flagging! Something must have changed in Lichess' API. I'll give it a look whenever possible 👍
(i no speak english) the error is only when use a "file.json" for multiple tournaments, Increment need a number >0. Error when is 0 or null (Minimum need 1, 2, 3, etc)
But. when uses a "$ lichess-tournament-creator Swiss 'title' 'date' 'round' 'time' 'increment' (here '0' is OK, is correct)
The problem, i think, is in the validate file for a 'file.json' but i can't solved
GRACIAS!!
Le daré un vistazo. ¡Gracias!
Oh! I just found the problem with the number zero. The number zero has to be in quotes, so "0" and everything works fine. You need to update this information on the main page, in the instructions for the file.json file. Simply add quotes to the 'duration' and 'increment' value numbers.
You are a genius, I thank you so much for this contribution!!! It's incredible to me. Thank you thank you thank you!!
**In the future it would be great to add the "waiting time between rounds (for Swiss)" and "tournament description"
Cool, thanks @eliankeil ! I will expand it to support the "waiting time between rounds (for Swiss)" and "tournament description". 🎉
Error when increment is 0