Fix day being -1

This commit is contained in:
Christopher Cookman 2024-05-19 10:27:44 -06:00
parent 6332006702
commit 99667e4890
Signed by: ChrisChrome
GPG key ID: A023A26E42C33A42

View file

@ -1236,7 +1236,7 @@ discord.on("interactionCreate", async (interaction) => {
res.buffer().then(async (buffer) => { res.buffer().then(async (buffer) => {
interaction.editReply({ interaction.editReply({
embeds: [{ embeds: [{
title: `${toTitleCase(type)} Outlook Day ${day}`, title: `${toTitleCase(type)} Outlook Day ${day + 1}`,
image: { image: {
url: `attachment://${type}_${day}.png` url: `attachment://${type}_${day}.png`
}, },