From 78a6061844e464a168de5697b19a03484ca6e785 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Wed, 25 Nov 2020 17:51:18 -0500 Subject: [PATCH] Fix --- commands/analyze/parse-time.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/analyze/parse-time.js b/commands/analyze/parse-time.js index 05470ab4..ce0bd93d 100644 --- a/commands/analyze/parse-time.js +++ b/commands/analyze/parse-time.js @@ -21,8 +21,8 @@ module.exports = class ParseTimeCommand extends Command { } run(msg, { time }) { - const time = moment.duration(Date.now() - time.startDate.getTime()); - const display = time.format('Y [years,] M [months,] d [days,] h [hours,] m [minutes and] s [seconds]'); + const duration = moment.duration(Date.now() - time.startDate.getTime()); + const display = duration.format('Y [years,] M [months,] d [days,] h [hours,] m [minutes and] s [seconds]'); return msg.say(`This time duration parses as **${display}**.`); } };