From 712d6ebc4cb8975c1960d95b8c0832a47f0cf170 Mon Sep 17 00:00:00 2001 From: Daniel Odendahl Jr Date: Thu, 1 Jun 2017 18:58:24 +0000 Subject: [PATCH] Fix This --- commands/util/info.js | 2 +- commands/util/shard-info.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/util/info.js b/commands/util/info.js index 4462eec0..1a5d8171 100644 --- a/commands/util/info.js +++ b/commands/util/info.js @@ -32,7 +32,7 @@ module.exports = class InfoCommand extends Command { .addField('❯ Source Code', '[View Here](https://github.com/dragonfire535/xiaobot)', true) .addField('❯ Memory Usage', - `${Math.round(memory.reduce((prev, val) => prev + val, 0)) / 1024 / 1024}MB`, true) + `${Math.round(memory.reduce((prev, val) => prev + val, 0) / 1024 / 1024)}MB`, true) .addField('❯ Uptime', moment.duration(this.client.uptime).format('d[d]h[h]m[m]s[s]'), true) .addField('❯ Version', diff --git a/commands/util/shard-info.js b/commands/util/shard-info.js index 88ceb338..069ad049 100644 --- a/commands/util/shard-info.js +++ b/commands/util/shard-info.js @@ -38,7 +38,7 @@ module.exports = class ShardInfoCommand extends Command { .addField('❯ Servers', guilds[shard], true) .addField('❯ Memory Usage', - `${Math.round(memory[shard]) / 1024 / 1024}MB`, true) + `${Math.round(memory[shard] / 1024 / 1024)}MB`, true) .addField('❯ Uptime', moment.duration(uptime[shard]).format('d[d]h[h]m[m]s[s]'), true); return msg.embed(embed);