From 88ac2d4ab0bb014b17a65258550fa8f8cb575912 Mon Sep 17 00:00:00 2001 From: IDeletedSystem64 Date: Sun, 27 Mar 2022 20:08:50 -0500 Subject: [PATCH] Fix uptimes returning with everything in days --- commands/info.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/commands/info.js b/commands/info.js index a58b9d5..e0ee274 100644 --- a/commands/info.js +++ b/commands/info.js @@ -14,10 +14,10 @@ module.exports = { const minutes = parseInt((totalSeconds % 3600) / 60); const seconds = parseInt(totalSeconds % 60); - const daystring = days + (days === 1 ? "day" : "days"); - const hourstring = hours + (hours === 1 ? "day" : "days"); - const minutetring = minutes + (minutes === 1 ? "day" : "days"); - const secondstring = seconds + (seconds === 1 ? "day" : "days"); + const daystring = days + (days === 1 ? " day" : " days"); + const hourstring = hours + (hours === 1 ? " hour" : " hours"); + const minutetring = minutes + (minutes === 1 ? " minute" : " minutes"); + const secondstring = seconds + (seconds === 1 ? " second" : " seconds"); return `${daystring}**, **${hourstring}**, **${minutetring}**, **${secondstring}`; }