forked from Galactic/galactic-bot
fix for avg uptime calc
This commit is contained in:
parent
ed9905a238
commit
757601c608
@ -82,7 +82,7 @@ class StatsCommand extends Command {
|
||||
});
|
||||
return acc;
|
||||
}, {});
|
||||
totalValues.uptime = this.client.resolver.timeAgo(Math.floor(totalValues.uptime / 1000), true, true, true);
|
||||
totalValues.uptime = this.client.resolver.timeAgo(Math.floor(totalValues.uptime/ shard.count / 1000), true, true, true);
|
||||
totalValues.avgMem = Math.floor(totalValues.memory / shard.count);
|
||||
|
||||
//System information
|
||||
|
Loading…
Reference in New Issue
Block a user