From a53e111e9ec8713f18ca86c87b8b1b65ca2f6974 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Mon, 5 Oct 2020 18:31:53 -0400 Subject: [PATCH] Fix Lint --- commands/other/timer.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/commands/other/timer.js b/commands/other/timer.js index cc5298a0..b2c0552b 100644 --- a/commands/other/timer.js +++ b/commands/other/timer.js @@ -1,5 +1,4 @@ const Command = require('../../structures/Command'); -const { delay } = require('../../util/Util'); module.exports = class TimerCommand extends Command { constructor(client) { @@ -22,7 +21,7 @@ module.exports = class TimerCommand extends Command { this.timers = new Map(); } - async run(msg, { time }) { + run(msg, { time }) { if (this.timers.has(msg.channel.id)) return msg.reply('Only one timer can be set per channel.'); const display = time > 59 ? `${time / 60} minutes` : `${time} seconds`; const timeout = setTimeout(async () => {