Implement madlibs

This commit is contained in:
2023-04-06 15:54:44 -05:00
parent 1f70cb9b1c
commit 91784d7d7d
8 changed files with 197 additions and 19 deletions

View File

@@ -8,7 +8,7 @@ const path = require('node:path');
const commands = [];
// Grab all the command files from the commands directory you created earlier
const commandsPath = path.join(__dirname, 'commands');
const commandFiles = fs.readdirSync(commandsPath).filter(file => file.endsWith('.ts'));
const commandFiles = fs.readdirSync(commandsPath).filter(file => file.endsWith('.cjs'));
// Grab the SlashCommandBuilder#toJSON() output of each command's data for deployment
for (const file of commandFiles) {