Use TinyDB to store the time of action and later check the stored time if it is >= stored time + 24 hours, then allow to call the action again.
Use TinyDB to store the time of action and later check the stored time if it is >= stored time + 24 hours, then allow to call the action again.