From 12aba1003a65035d94ac60e98170e09b99942efc Mon Sep 17 00:00:00 2001 From: Braeden Sowinski Date: Sun, 22 Oct 2023 10:58:52 -0700 Subject: [PATCH] feature/hidden stats --- commands/debug.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/commands/debug.js b/commands/debug.js index 7abd67b..12ac298 100644 --- a/commands/debug.js +++ b/commands/debug.js @@ -46,6 +46,8 @@ module.exports = { .setColor(client.config.Colors.Default) .setTitle(`Server connection stats`); + stats.Embed.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); statsEmbed.addFields({ name: 'Unique connections in the last 3 months', value: `> ${month3Players.length}`, inline: false });