feature/hidden stats
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -46,7 +46,7 @@ module.exports = {
|
|||||||
.setColor(client.config.Colors.Default)
|
.setColor(client.config.Colors.Default)
|
||||||
.setTitle(`Server connection stats`);
|
.setTitle(`Server connection stats`);
|
||||||
|
|
||||||
stats.addFields({ name: 'All time Unique connections', value: `> ${stats.length}`, inline: false });
|
statsEmbed.addFields({ name: 'All time Unique connections', value: `> ${stats.length}`, inline: false });
|
||||||
|
|
||||||
let month3 = new Date().setMonth(new Date().getMonth() - 3);
|
let month3 = new Date().setMonth(new Date().getMonth() - 3);
|
||||||
let month3Players = stats.filter((stat) => stat.lastConnectionDate > month3);
|
let month3Players = stats.filter((stat) => stat.lastConnectionDate > month3);
|
||||||
|
|||||||
Reference in new issue
Block a user