One person keeps challenging me to 120+60 games, is there a way to deny games that are too long?'
edit: I have blocked them, but I would still like to have long games disabled.
@IUseStockfish if disabling "classical" in BOT config.yml not enough, you can add
self.limit = c_info.get("timeControl", {}).get("limit", -1)
before line
github.com/careless25/lichess-bot/blob/master/model.py#L12and later use it in
github.com/careless25/lichess-bot/blob/master/model.py#L24 Forgot to mention, "limit" is the minutes per side in challenge timeControl
See
lichess.org/api#tag/Challengesalright, thanks for the great info, will check that out
I want to make another lichess bot. Is there another way to make it without making a new email?