mirror of
https://github.com/JonnyBro/JaBa.git
synced 2024-11-25 14:44:58 +05:00
fix
This commit is contained in:
parent
1d2a1d488f
commit
0ec83e0ec3
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue