From 99667e4890d67238503db88ff6239a177aadc7cb Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Sun, 19 May 2024 10:27:44 -0600 Subject: [PATCH] Fix day being -1 --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 70c1f3f..4d388e5 100644 --- a/index.js +++ b/index.js @@ -1236,7 +1236,7 @@ discord.on("interactionCreate", async (interaction) => { res.buffer().then(async (buffer) => { interaction.editReply({ embeds: [{ - title: `${toTitleCase(type)} Outlook Day ${day}`, + title: `${toTitleCase(type)} Outlook Day ${day + 1}`, image: { url: `attachment://${type}_${day}.png` },