After Click Button Disable for 24 hour

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.

2 Likes