From 34f1580ff7685376d9c5b939654f0d2bc84a93a4 Mon Sep 17 00:00:00 2001 From: ChrisChrome Date: Sun, 19 May 2024 23:58:17 -0600 Subject: [PATCH] Fix that --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index ffc3831..1dc4f20 100644 --- a/index.js +++ b/index.js @@ -1006,7 +1006,7 @@ discord.on("interactionCreate", async (interaction) => { day = interaction.options.getInteger("day"); type = interaction.options.getString("type"); 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 }); + if (type !== "fire" && type !== "convective") return interaction.reply({ content: "Invalid type", ephemeral: true }); url = outlookURLs[type][day]; await interaction.deferReply(); fetch(url).then((res) => {