Поздравления в 10 часов по мск

This commit is contained in:
JonnyBro 2022-03-14 23:07:10 +05:00
parent a5898cc31b
commit b3884ec14b

View file

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