Recently, I implemented a premium membership feature for my discord bot. However, I encountered an issue where the membership time starts counting down before the intended start time. To resolve this, I am looking to automatically delete the data from the database once the set time in milliseconds has expired. I attempted a solution, but unfortunately, it did not yield the desired results.
This is how I currently save the data: