From 4c8a9ea17bf6964a6f68907c80ed2eca8584157a Mon Sep 17 00:00:00 2001 From: Braeden Sowinski Date: Sun, 22 Oct 2023 11:00:34 -0700 Subject: [PATCH] feature/hidden stats --- commands/debug.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/debug.js b/commands/debug.js index b36f41c..ceeb77f 100644 --- a/commands/debug.js +++ b/commands/debug.js @@ -46,7 +46,7 @@ module.exports = { .setColor(client.config.Colors.Default) .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 month3Players = stats.filter((stat) => stat.lastConnectionDate > month3);