#Giveaway Command!
11 messages · Page 1 of 1 (latest)
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
You‘d might want to use a scheduler or cron package instead that stores those timestamps in a database so they happen at that time you specify, instead of the setInterval check that will only live as long as the process
Since giveaways will last a long time, better store them somewhere safely. I suggest following the database part of the djs guide
I used cron, but It's still not working.
"Not working" is very broad... what isn't working?
It works fine, but when I restart the bot it does not do what it should.
I used corn but it still does the same thing
Well, did you store the timestamps in a database?