Compare commits
No commits in common. "b1bfcfa489cf70d0f40a4a31e56fdfa2cec17a95" and "ec98d2a5ecda1efe81cd324578c5fc98681e43cc" have entirely different histories.
b1bfcfa489
...
ec98d2a5ec
5 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ const commandFolders = fs.readdirSync(foldersPath);
|
|||
for (const folder of commandFolders) {
|
||||
// Grab all the command files from the commands directory you created earlier
|
||||
const commandsPath = path.join(foldersPath, folder);
|
||||
const commandFiles = fs.readdirSync(commandsPath).filter(file => file.endsWith('_cmd.js'));
|
||||
const commandFiles = fs.readdirSync(commandsPath).filter(file => file.endsWith('.js'));
|
||||
// Grab the SlashCommandBuilder#toJSON() output of each command's data for deployment
|
||||
for (const file of commandFiles) {
|
||||
const filePath = path.join(commandsPath, file);
|
||||
|
|
Loading…
Reference in a new issue