Closed lsiem closed 6 years ago
But Lichess has a user preference to disable takebacks?
Indeed, use the preference instead.
Hi, It seems that when the bot is configured in Lichess preferences to permit takeback, the bot never replies to takeback offers. I clearly don't speak Python, so, I'm maybe totally wrong, but looking at lichess-bot.py, it seems the takeback events are ignored. I also had a look at lichess.py, and found nothing to reply to takeback offers. I also found nothing in config.yml that could be a setting for that. What did I miss?
Hi, It seems that when the bot is configured in Lichess preferences to permit takeback, the bot never replies to takeback offers... What did I miss?
If the feature request is, "Auto decline takeback offers" then don't configure the bot to permit takeback offers... just select "Never". We don't need additional code to solve this issue:
If the feature request is, "Auto decline takeback offers" then don't configure the bot to permit takeback offers... just select "Never". We don't need additional code to solve this issue
Thanks for answering so quickly. Unfortunately, it is not the desired behaviour. What I'm looking for is a way to have the bot accept the incoming takeback requests. I selected the "always" option in the screen you copied. So, the bot receives a takeback offer (because takebacks always require approval), but never replies to it ... so there's no tackback possibility.
@fathzer You didn't miss anything. Lichess-bot doesn't have the capability to respond to move takeback requests. In its current form, lichess-bot does not listen for incoming messages from lichess while the bot is thinking about its move, so it can't respond to takeback requests. If you want, you can open a new issue to request this feature, though it may take some time to implement.
Thanks a lot, I've just created the #934 feature request.
If the opponent offer a takeback, when you move the offer is delined automatically