From e87d40db1fc0dc6acff8dee569e45a271ca9ccec Mon Sep 17 00:00:00 2001 From: baz Date: Mon, 2 Dec 2024 01:07:50 +0000 Subject: [PATCH] Minor changes --- commands/100-games/wrapped.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/100-games/wrapped.js b/commands/100-games/wrapped.js index 2a16378..2c6773e 100644 --- a/commands/100-games/wrapped.js +++ b/commands/100-games/wrapped.js @@ -48,7 +48,7 @@ module.exports = { const currentLeaderboardPlace = await GetLeaderboardPosition(userDatabaseEntry); const embed = new EmbedBuilder(); - embed.setColor(0xD36918); + embed.setColor(0x3BA55C); embed.setTitle('The 100 Games Challenge: 2024 Wrapped'); embed.setDescription(`Here are the stats for the games you played for the 100 Games Challenge in 2024 ${user.displayName}`); embed.setThumbnail(user.avatarURL()); @@ -127,7 +127,7 @@ async function GetNumberOfGamesBeat() { async function GetAverageBeatInterval() { if (userBeatenGamesDatabaseEntries && userBeatenGamesDatabaseEntries.length > 0) { - const today = new Date(); + const today = new Date(2025, 0, 1); const start = new Date(2024, 0, 1); const days = (today - start) / (1000 * 60 * 60 * 24); const timepergame = days / userBeatenGamesDatabaseEntries.length;