feature/hidden stats

This commit is contained in:
SowinskiBraeden committed 2023-10-22 11:00:34 -07:00
1 parent b8c97008f9
commit 4c8a9ea17b
1 file changed
+1 -1
+1 -1
View File
@@ -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);