Update main.js
This commit is contained in:
parent
1f8bf9a515
commit
9f71e73862
1 changed files with 3 additions and 1 deletions
4
main.js
4
main.js
|
@ -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!');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue