Update main.js

This commit is contained in:
ZyLacx 2022-02-12 18:53:19 +01:00
parent 1f8bf9a515
commit 9f71e73862

View file

@ -40,7 +40,9 @@ client.once('ready', () => {
if (client.user.username != 'MOOver Debug') { if (client.user.username != 'MOOver Debug') {
client.channels.cache.get('780439236867653635').send('Just turned on!'); client.channels.cache.get('780439236867653635').send('Just turned on!');
} }
cron.schedule('0 13 * * *', pingEvent()); cron.schedule('0 13 * * *', async function() {
pingEvent();
});
console.log('Running!'); console.log('Running!');
}); });