just some extra logs for reminder

master
Cristiano Pires 2 years ago
parent e9ad9052ce
commit 13da9bf960

@ -47,6 +47,7 @@ var Job = require('cron').CronJob;
var timer = new Job(
new Date(new Date().setMinutes(new Date().getMinutes()+parseInt(args[args.length-1]))),
function() {
console.log('Reminder:', message.author.id, 'is being reminded of', reminderMessage, 'in', args[args.length-1]);
message.author.send(reminderMessage)
},
null,

Loading…
Cancel
Save