From c55e480e4d8dbf9d3c11cb7a13c69f9f1ab730db Mon Sep 17 00:00:00 2001 From: Andrew Lee Date: Sun, 18 Dec 2022 22:31:04 -0500 Subject: Improved list command; Directory name change; Fixed ActivityType --- deploy-command.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'deploy-command.js') diff --git a/deploy-command.js b/deploy-command.js index cd698ee..fd9de7a 100644 --- a/deploy-command.js +++ b/deploy-command.js @@ -5,10 +5,10 @@ import { Routes } from 'discord-api-types/v10'; const { clientID, token } = JSON.parse(readFileSync('./config.json')); const commands = []; -const commandFiles = fs.readdirSync('./commands').filter(file => file.endsWith('.js')); +const commandFiles = fs.readdirSync('./Commands').filter(file => file.endsWith('.js')); for (const file of commandFiles) { - const { default: command } = await import(`./commands/${file}`); + const { default: command } = await import(`./Commands/${file}`); commands.push(command.data.toJSON()); } -- cgit v1.2.3