How do I send timed messages using cron please?
HI im not to sure how to work with cron and commands to end a timed message every midnight
6 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!
- ✅
Marked as resolved by OPIM a little bit confused because do I have to put it inside the commands folder with new command file or is there something else I have to do
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
I understand cron somewhat to an extent I just dont understand if i put it in the command folder which is messing with my head because I dont want it to be a slash command I want it to run every day while the bot is on
Unknown User•8mo ago
Message Not Public
Sign In & Join Server To View
Okay thanks I thought it would be djs because its working with discord bot too sorry