diff --git a/commands/utility/remind.js b/commands/utility/remind.js index 0910c8e..3730e50 100644 --- a/commands/utility/remind.js +++ b/commands/utility/remind.js @@ -1,21 +1,36 @@ const Discord = require('discord.js'); const cron = require('cron'); +const moment = require('moment'); module.exports = { name: "remind", aliases: ['remindme', 'reminder'], meta: { category: 'Utility', - description: "", - syntax: '` <>`', + description: "Set a reminder for something later", + syntax: '`remind `', extra: null }, help: new Discord.MessageEmbed() - .setTitle("Help -> ") - .setDescription("") - .addField("Syntax", "``"), + .setTitle("Help -> Reminders") + .setDescription("Have me remind you about something later on.") + .addField("Syntax", "`remind `"), async execute(message, msg, args, cmd, prefix, mention, client) { - //if (!args.length) {return message.channel.send(`Syntax: \`${prefix}\``);} - const job = new cron.CronJob(new Date().setMinutes(new Date().getMinutes() + 1), () => message.author.send('test cron')); + if (!args.length) {return message.channel.send(`Syntax: \`${prefix}remind