Closed serversideapps closed 5 years ago
Yes, I'm almost certain that only logins through the ui count. I made a test. I polled the online bot list and my bot was missing ( despite being online through the bot api ). Then I logged into the ui with my bot. Polling the online bot list with my bot logged into the ui returned my bot being online. Then I logged out, but the poll still returned the bot being online ( I think because the cache has a short term memory ). So the net result is that only bots that have logged into the ui recently are reported as being online.
How do I test/verify this?
For human players it works like charm ( also much faster than it was before ).
However it misses a lot of online bots. I checked that with using the batch query ( which lets you query 50 players' status at once ) querying all bots' status. The two queries return different results.
It may be that bot online status is registered differently if using lichess-bot than using the ui? Just guessing.