Implement madlibs
This commit is contained in:
parent
f5960f605f
commit
4a90333965
@ -6,8 +6,7 @@ module.exports = {
|
|||||||
.setDescription('Ends an existing madlib session.'),
|
.setDescription('Ends an existing madlib session.'),
|
||||||
async execute(interaction, client) {
|
async execute(interaction, client) {
|
||||||
await interaction.reply('Game aborted.');
|
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");
|
console.log("User " + interaction.user.tag + " ran /ping");
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user