feature/hidden stats

This commit is contained in:
SowinskiBraeden committed 2023-10-22 10:59:39 -07:00
1 parent 12aba1003a
commit b8c97008f9
1 file changed
+1 -1
+1 -1
View File
@@ -46,7 +46,7 @@ module.exports = {
.setColor(client.config.Colors.Default)
.setTitle(`Server connection stats`);
stats.Embed.addFields({ name: 'All time Unique connections', value: `> ${stats.length}`, inline: false });
stats.addFields({ name: 'All time Unique connections', value: `> ${stats.length}`, inline: false });
let month3 = new Date().setMonth(new Date().getMonth() - 3);
let month3Players = stats.filter((stat) => stat.lastConnectionDate > month3);