From cd166dce0ef9642c17e06f29c99d99e0ab8d3e37 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Thu, 26 Nov 2020 11:08:03 -0500 Subject: [PATCH] Add clock --- commands/remind/delete-reminder.js | 2 +- commands/remind/remind.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/remind/delete-reminder.js b/commands/remind/delete-reminder.js index dc829ac5..0cce3d9c 100644 --- a/commands/remind/delete-reminder.js +++ b/commands/remind/delete-reminder.js @@ -13,7 +13,7 @@ module.exports = class DeleteReminderCommand extends Command { async run(msg) { const exists = await this.client.timers.exists(msg.channel.id, msg.author.id); - if (!exists) return msg.reply('You do not have a timer set in this channel.'); + if (!exists) return msg.reply('🕰️ You do not have a timer set in this channel.'); await this.client.timers.deleteTimer(msg.channel.id, msg.author.id); return msg.say('🕰️ Your timer has been deleted.'); } diff --git a/commands/remind/remind.js b/commands/remind/remind.js index a0a7b819..9267d7fe 100644 --- a/commands/remind/remind.js +++ b/commands/remind/remind.js @@ -22,9 +22,9 @@ module.exports = class RemindCommand extends Command { async run(msg, { time }) { const exists = await this.client.timers.exists(msg.channel.id, msg.author.id); - if (exists) return msg.reply('Only one reminder can be set per channel per user.'); + if (exists) return msg.reply('🕰️ Only one reminder can be set per channel per user.'); const timeMs = time.startDate.getTime() - Date.now(); - if (timeMs > 0x7FFFFFFF) return msg.reply('Reminders have a maximum length of ~24.84 days.'); + if (timeMs > 0x7FFFFFFF) return msg.reply('🕰️ Reminders have a maximum length of ~24.84 days.'); const display = moment().add(timeMs, 'ms').fromNow(); const title = time.eventTitle ? shorten(time.eventTitle, 500) : 'something'; await this.client.timers.setTimer(msg.channel.id, timeMs, msg.author.id, title);