diff --git a/commands/startMadlib.cjs b/commands/startMadlib.cjs index b71c0be..76a0253 100644 --- a/commands/startMadlib.cjs +++ b/commands/startMadlib.cjs @@ -23,6 +23,7 @@ module.exports = { ); const message = await interaction.reply({ content: "You have requested to start a madlib game in the current channel. I will intercept any message sent in this channel as game input until the game is over. Please refrain from using this in a busy channel, as it can be annoying for others. Would you like to continue?", fetchReply: true, components: [row]}); client.on(Events.InteractionCreate, interaction => { + interaction.deferUpdate(); if (!interaction.isButton()) return; if (interaction.customId == 'yes') { console.log("User selected yes"); @@ -59,7 +60,7 @@ module.exports = { channel.send("Game aborted."); } } - message.delete(); + //message.delete(); }); console.log("User " + interaction.user.tag + " ran /startmadlib"); diff --git a/madlibs/stories.json b/madlibs/stories.json index 6123aeb..22797d6 100644 --- a/madlibs/stories.json +++ b/madlibs/stories.json @@ -1,11 +1,13 @@ { "stories": { - "MadLib Gameshow": " on down! You're the next contestant on 's new gameshow, MadLib! Here's how it works. You will over a at a rate of mph. After you jump over that item, you will over to the and press the at the end. time wins! Oh. I forgot to introduce our host. He's a person who can't wait to in to the show. Please welcome, ! Alright players, on your mark. Get set. ! Alright, here goes on the first stage of the competition. And.. WOAH! He just over the thing! That's gonna hurt him tommorow. But it'll be all worth it after he wins the grand prize of dollars! Which he says will go towards . Very investment, but it's his money! Here he comes around the second leg. AND WOAH, AGAIN HE LOOKS ON NETWORK TELEVISION! This is what primetime is all about here on the network of . And, he presses it! He finishes with a time of