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