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) {
client.usersData
.find({ birthdate: { $gt: 1 } })
.then((users) => {
.then(async (users) => {
for (const user of users) {
const month = user.birthdate.getUTCMonth() + 1;
const day = user.birthdate.getUTCDate();