Torom / BotLi

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

Time control #26

Closed FatFritz2 closed 2 years ago

FatFritz2 commented 2 years ago

Hey, how can I adjust my bot's accepted time control? I mean I have to adjust the minutes per side to 1 minute

Torom commented 2 years ago

Here you can set the time controls that should be accepted.

And in these lines you can set exactly how much initial time and how much increment the challenges are allowed to have. The values are obviously in seconds.

That wasn't really hard to find, was it?

FatFritz2 commented 2 years ago

Cool

Torom commented 2 years ago

You must uncomment the lines for them to have any effect.

# min_initial: 5

becomes

  min_initial: 5

Pay attention to the indentation. The # must be replaced by a whitespace ( ).