Maru
DIAdiscord.js - Imagine an app
•Created by Maru on 3/18/2024 in #djs-questions
Send message at exactly 0:00, with the most accuracy possible
Hey all! I am doing a bot that sends two messages at 0:00, using the cron module to specify the schedule (*/0 0 0 0...). The issue is that it is just a few milliseconds off, and it ends up sending the message before 0:00, which is not what I am looking for. Is there any special function or module on d.js that allows one to somehow natively schedule messages more in par with Discord's internal clock? Or any creative ideas of how I could overcome that issue? Thanks
8 replies