This commit is contained in:
JonnyBro 2021-12-30 01:05:33 +05:00
parent 1d2a1d488f
commit 0ec83e0ec3

View file

@ -16,7 +16,7 @@ async function init(client) {
if (channel) { if (channel) {
client.usersData client.usersData
.find({ birthdate: { $gt: 1 } }) .find({ birthdate: { $gt: 1 } })
.then((users) => { .then(async (users) => {
for (const user of users) { for (const user of users) {
const month = user.birthdate.getUTCMonth() + 1; const month = user.birthdate.getUTCMonth() + 1;
const day = user.birthdate.getUTCDate(); const day = user.birthdate.getUTCDate();