Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (/^[0-9]{1,3}[smhdwy]$/i.test(reminderTime)) {
- return simple.embed(`In ${reminderTime}, i will remind you:` + '```' + `${reminder}` + '```', message),
- setTimeout(function() {
- return message.author.send(new Discord.RichEmbed()
- .setAuthor('Im reminding you:')
- .setDescription('```' + reminder + '```' + `
- ` + `**-Please don't reply to this message. It will open a modmail thread with staff.-**`)
- .setColor('RANDOM')
- .setTimestamp()
- .setFooter(`Requested By: ${message.author.tag}`, message.author.avatarURL)
- )}, ms(reminderTime));
- }
- else return("Please use the correct syntax: `_remind <time> <Reminder>`")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement