Update main.js

This commit is contained in:
ZyLacx 2022-02-18 14:45:08 +01:00
parent 4adcf47976
commit ea20b069ff

View file

@ -49,9 +49,12 @@ const resp = require('./responses.js');
const bModel = require('./database/birthdaySchema'); const bModel = require('./database/birthdaySchema');
const eModel = require('./database/eventSchema'); const eModel = require('./database/eventSchema');
const turnOnMsg = ['AAAAAAAAAAAAA', 'Just turned on!', 'Just woke up!', 'May have crashed... sowwyyy >.<',
'Heyyyy!', 'I\'m baaaack', 'Whom\'st have summoned they ancient one?'];
client.once('ready', async () => { client.once('ready', async () => {
if (client.user.username != 'MOOver Debug') { if (client.user.username != 'MOOver Debug') {
client.channels.cache.get('780439236867653635').send('AAAAAAAAAA!'); client.channels.cache.get('780439236867653635').send(turnOnMsg[help.RNG(turnOnMsg.length)]);
} }
console.log(bModel.find({}).exec(), eModel.find({}).exec()); console.log(bModel.find({}).exec(), eModel.find({}).exec());
cron.schedule('0 13 * * *', async function() { cron.schedule('0 13 * * *', async function() {