aboutsummaryrefslogtreecommitdiff
path: root/deploy-command.js
diff options
context:
space:
mode:
Diffstat (limited to 'deploy-command.js')
-rw-r--r--deploy-command.js4
1 files changed, 2 insertions, 2 deletions
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());
}