im still fairly new to javascript but im currently trying to make a cron message , it does work but now im trying to figure out how to send it to a specific channel
this is what i have so far
var CronJob = require('cron').CronJob;
var job = new CronJob('1 * * * * *', function () {
message.channel.send('You will see this message every second');
}, null, true, 'America/Los_Angeles');
job.start();
i have tried a few things but it either doesnt work or causes the code to crash