diff --git a/helpers/checkReminds.js b/helpers/checkReminds.js index 7fd0792a..c96b741f 100644 --- a/helpers/checkReminds.js +++ b/helpers/checkReminds.js @@ -16,7 +16,7 @@ module.exports.init = function (client) { const cachedUser = client.users.cache.get(user.id); if (cachedUser) { - const dateNow = Date.now(), + const dateNow = Math.floor(Date.now() / 1000), reminds = user.reminds, mustSent = reminds.filter(r => r.sendAt < dateNow);