From b8c97008f905fce089553b058459baf624309391 Mon Sep 17 00:00:00 2001 From: Braeden Sowinski Date: Sun, 22 Oct 2023 10:59:39 -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 12ac298..b36f41c 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.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);