Merge branch 'master' of ssh://gitea.calebfontenot.com:25566/CCF_100/NoMoreAcronyms

master
Chloe Fontenot 🏳️‍⚧️ 2023-04-06 18:10:41 +07:00
commit 89813806b6
1 changed files with 12 additions and 0 deletions

@ -0,0 +1,12 @@
const { SlashCommandBuilder, Discord } = require('discord.js');
module.exports = {
data: new SlashCommandBuilder()
.setName('endmadlib')
.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};
console.log("User " + interaction.user.tag + " ran /ping");
},
};