You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Natsuki/commands/utility/remind.js

21 lines
688 B

3 years ago
const Discord = require('discord.js');
const cron = require('cron');
module.exports = {
name: "remind",
aliases: ['remindme', 'reminder'],
meta: {
category: 'Utility',
description: "",
syntax: '` <>`',
extra: null
},
help: new Discord.MessageEmbed()
.setTitle("Help -> ")
.setDescription("")
.addField("Syntax", "``"),
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'));
}
};