Torom / BotLi

Lichess Bot
GNU Affero General Public License v3.0
44 stars 82 forks source link

Rate limit? #103

Closed EmptikBest closed 1 year ago

EmptikBest commented 1 year ago

My bot had matchmaking off, it played a game 8 minutes ago... I typed create 500 emptikvariantsbot 60 0 true standard and it told me the following (copied cmd text):

create 500 emptikvariantsbot 60 0 true standard
Challenges for 500 game pairs against emptikvariantsbot added to the queue.
Challenging emptikvariantsbot ...
Challenge against emptikvariantsbot failed due to Lichess rate limit.
Challenge queue cleared due to rate limiting.

How is it rate limited? It didn't even challenge for like 2 hours before this.. Only accepted incoming challenges and even the last incoming challenge was 8 minutes ago...

Torom commented 1 year ago

Lichess has a rate limit of 200 challenges against bots per day, one challenge to a human counts as 5 challenges. So you can be rate limited.

Please learn to use this feature: https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks

EmptikBest commented 1 year ago

Ok, thank you!

By the way, sorry @Torom for not knowing how to use the code blocks before... I just used to use the code option at the top and then copy paste the text