Более ранние поздравления

This commit is contained in:
JonnyBro 2022-05-01 18:58:18 +05:00
parent f87b657f94
commit 58da4cebe5

View file

@ -2,7 +2,7 @@ const CronJob = require("cron").CronJob,
Discord = require("discord.js"); Discord = require("discord.js");
async function init(client) { async function init(client) {
new CronJob("0 10 * * *", async function () { new CronJob("0 5 * * *", async function () {
client.guilds.cache.forEach(async (guild) => { client.guilds.cache.forEach(async (guild) => {
const date = new Date(), const date = new Date(),
currentDay = date.getDate(), currentDay = date.getDate(),