privateReminders: revert time check just in case
idk why i even changed it and i dont remember changing it
blame: 90132ed9c0
This commit is contained in:
parent
68ccd5ff98
commit
88f070c078
1 changed files with 2 additions and 2 deletions
|
@ -94,9 +94,9 @@ hf.bot.once("ready", () => {
|
|||
let [hour, minutes] = time.split(":");
|
||||
hour = parseInt(hour);
|
||||
minutes = parseInt(minutes);
|
||||
const lastRan = new Date(await getLastRun(data.user)).getTime();
|
||||
const lastRan = await getLastRun(data.user);
|
||||
|
||||
if (now > lastRan && hour == data.hour && minutes == 0) {
|
||||
if (date != lastRan && hour == data.hour && minutes == 0) {
|
||||
logger.verbose(
|
||||
"privateReminders",
|
||||
`attempting to send reminder to ${data.user}`
|
||||
|
|
Loading…
Reference in a new issue