I have a server bot where I want to make a certain command usable only once every 24 hours. Each time the user uses the command, I store datetime.now in my SQL database in %H:M:%S format so the variable may looks like this:
b = "07:17:45"
I would like to somehow subtract that stored string with datetime.datetimenow() each time the user uses the command to get an output of the remaining time left to check if 24 hours has passed or not.