From ff2a16c7600e17bcc480fda87f351bc471782741 Mon Sep 17 00:00:00 2001 From: WubzyGD Date: Fri, 13 Aug 2021 20:04:48 -0600 Subject: [PATCH] fix monit --- commands/utility/monitor.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/utility/monitor.js b/commands/utility/monitor.js index 1d7ee55..7a75b8a 100644 --- a/commands/utility/monitor.js +++ b/commands/utility/monitor.js @@ -64,8 +64,8 @@ module.exports = { if (thm) {emb.addField("Top Channels", chs).addField("Top Members", us);} if (tv) {emb.addField("Top Voice Channels", vchs).addField("Top VC Members", vus);} - if (thm) {emb.addField("Total Messages", tm.messages.total, true);} - if (tv) {emb.addField("Total Voice Hours", (tm.voice.total / 60).toFixed(1), true);} + if (thm) {emb.addField("Total Messages", `${tm.messages.total}`, true);} + if (tv) {emb.addField("Total Voice Hours", `${(tm.voice.total / 60).toFixed(1)}`, true);} return message.channel.send({embeds: [emb]}); }