How do you avoid double booking the same time slot?
Availability has to be checked on the server at the moment of confirmation, not only in the interface. The system checks once more whether the slot is free and assigns it to one customer, while the second is offered the nearest free time. All booking channels, the website, bot and app, must work with a single schedule.
More in the guide to online booking systems.