Verifying that the date entered by a user is not i...
# 🤝help
s
Hi, I am trying to build a bot to handle accommodation booking. When I ask the user to input an arrival date, I wish to validate that that date is not in the past. Unfortunately, the validation does not work. Problem is that the part that seems to be the problem (type = boolean) is at the top part of the code that cannot be edited by myself. How can I validate the date and request the user to re-enter the date if it is in the past?

https://cdn.discordapp.com/attachments/1131640941078397030/1131640941220999260/image.png

2 Views