Fix day being -1
This commit is contained in:
parent
6332006702
commit
99667e4890
2
index.js
2
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`
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue