From 6332006702094d30bcbc6ddb2191889a2c798301 Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Sun, 19 May 2024 10:26:51 -0600 Subject: [PATCH] Guh --- index.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 9796ef1..70c1f3f 100644 --- a/index.js +++ b/index.js @@ -1226,7 +1226,7 @@ discord.on("interactionCreate", async (interaction) => { if (day < 0 || day > 7) return interaction.reply({ content: "Invalid day", ephemeral: true }); if (type !== "fire" && type !== "storm") return interaction.reply({ content: "Invalid type", ephemeral: true }); url = outlookURLs[type][day]; - await interaction.deferReply({ ephemeral: true }); + await interaction.deferReply(); fetch(url).then((res) => { if (res.status !== 200) { interaction.editReply({ content: "Failed to get outlook", ephemeral: true }); @@ -1245,8 +1245,7 @@ discord.on("interactionCreate", async (interaction) => { files: [{ attachment: buffer, name: `${type}_${day}.png` - }], - ephemeral: false + }] }); }); }).catch((err) => {