diff --git a/commands/endMadlib.cjs b/commands/endMadlib.cjs index 8ae8861..1e3dd60 100644 --- a/commands/endMadlib.cjs +++ b/commands/endMadlib.cjs @@ -6,7 +6,8 @@ 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: [], storyLength: undefined}; + global.madlibState = { gameChannel: undefined, storyTitle:undefined, currentStory: undefined, storyIterate: 0, storyReplaceContent: []}; + console.log("User " + interaction.user.tag + " ran /ping"); }, };