mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-05 13:53:12 +02:00
Fix This
This commit is contained in:
@@ -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',
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user