private reminders: wait until ready to register timer

This commit is contained in:
Cynthia Foxwell 2021-08-22 14:21:09 -06:00
parent a259ee8da2
commit 4c718e3a9a

View file

@ -68,6 +68,7 @@ function getLastRun(id) {
});
}
hf.bot.once("ready", () => {
timer.add(
"private_reminders",
async () => {
@ -101,3 +102,4 @@ timer.add(
},
1000
);
});