From 39efc2608ca9323b0657508736bd9a42a153f0eb Mon Sep 17 00:00:00 2001 From: Caleb Fontenot Date: Fri, 7 Apr 2023 10:49:44 -0500 Subject: [PATCH] Add additional stories --- commands/startMadlib.cjs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/commands/startMadlib.cjs b/commands/startMadlib.cjs index dd9eb71..ccac9d2 100644 --- a/commands/startMadlib.cjs +++ b/commands/startMadlib.cjs @@ -42,14 +42,14 @@ module.exports = { const channel = client.channels.cache.get(interaction.channel.id); channel.send({ content: 'Select a story', components: [row], fetchMessage: true }); client.on(Events.InteractionCreate, interaction => { - interaction.deferUpdate(); + //interaction.deferUpdate(); if (!interaction.isStringSelectMenu()) return; selectedStory = interaction.values[0]; console.log("User selected: " +selectedStory); initGame(interaction.channel.id, client, interaction, selectedStory); //storySelectMessage.delete(); - console.log(interaction); - interaction.channel.send("Started game!"); + //console.log(interaction); + //interaction.channel.send("Started game!"); //interaction.deleteReply(); });