Make them watch a 10 second add before they can vote and only able to vote every 12 hours
Now I have the full picture. I need to:
useEffect to the importsClock icon for the cooldown indicatorNow I'll add the AdModal component after the EditBotModal:
Now I need to update the BotCardProps and BotCard to handle the cooldown:
Now I need to update the vote button in BotCard:
Now I need to update the BotDirectory component to handle the ad modal and localStorage cooldowns:
Now I need to update the BotCard usages to pass the new props:
Now I need to add the AdModal at the end of the component:
I've added a voting system with a 10-second ad timer and 12-hour cooldown. When users click the Vote button, an ad modal appears with a 10-second countdown and progress bar. After the timer completes, they can click "Complete Vote" to register their vote. The cooldown is stored in localStorage, so users can only vote for each bot once every 12 hours. The vote button displays the remaining cooldown time (e.g., "11h 45m") when on cooldown.
Make user profile where me the owner can give people roles in the website also add a way for people to login to discord
Get rid of the fake bots