Implement madlibs
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user