diff --git a/commands/endMadlib.cjs b/commands/endMadlib.cjs index 1e3dd60..8ae8861 100644 --- a/commands/endMadlib.cjs +++ b/commands/endMadlib.cjs @@ -6,8 +6,7 @@ module.exports = { .setDescription('Ends an existing madlib session.'), async execute(interaction, client) { await interaction.reply('Game aborted.'); - global.madlibState = { gameChannel: undefined, storyTitle:undefined, currentStory: undefined, storyIterate: 0, storyReplaceContent: []}; - + global.madlibState = { gameChannel: undefined, storyTitle:undefined, currentStory: undefined, storyIterate: 0, storyReplaceContent: [], storyLength: undefined}; console.log("User " + interaction.user.tag + " ran /ping"); }, };