This commit is contained in:
Daniel Odendahl Jr
2017-06-01 18:58:24 +00:00
parent 0b736a33d6
commit 712d6ebc4c
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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',
+1 -1
View File
@@ -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);