This commit is contained in:
JonnyBro 2021-12-30 01:11:19 +05:00
parent aeaab7c23c
commit 9460ce4b31

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 11 23 * * *", async function () { new CronJob("0 12 23 * * *", async function () {
client.guilds.cache.forEach(async (guild) => { client.guilds.cache.forEach(async (guild) => {
const date = new Date(); const date = new Date();
const currentMonth = date.getMonth() + 1; const currentMonth = date.getMonth() + 1;