expiring warn
Hi, im new into discord bots/js and i want to do a warn command, but with expiring date. is it possible? if yes, how?
7 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- 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 have to store the timestamp somewhere and check on an interval to see whether it expired or not
so it is possible, and i just need a database?
yes
Or at least something where you store that timestamp
i have an oracle database, but theres no guides for this, so idk how to do that :(
it's time to learn something new
use mongo
If you're only doing that, you might be fine with just keyv which is pretty simple to use and can use sqlite (local files)