#Send message to specific channel every N minutes

4 messages · Page 1 of 1 (latest)

unreal horizonBOT
#

• What's your exact discord.js npm list discord.js and node node -v version?
• Post the full error stack trace, not just the top part!
• Show your code!
• Explain what exactly your issue is.
• Not a discord.js issue? Check out #useful-servers.

hollow sierra
#

Use a cron job for the “every part” way, and then use <channel>.messages.fetch(id) to check if it’s the same as the last message

You can use node-cron or croner, I prefer croner

lilac pike
#

or you could store the last message in a variable

hollow sierra
#

Yh that’s what id is