This commit is contained in:
JonnyBro 2021-12-30 01:07:14 +05:00
parent 0ec83e0ec3
commit 4a4d51e734

View file

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