aboutsummaryrefslogtreecommitdiff
path: root/deploy-command.js
diff options
context:
space:
mode:
authorAndrew Lee <alee14498@protonmail.com>2022-12-18 22:31:04 -0500
committerAndrew Lee <alee14498@protonmail.com>2022-12-18 22:36:32 -0500
commitc55e480e4d8dbf9d3c11cb7a13c69f9f1ab730db (patch)
tree848c4cdc3e1efb003cc7dacf3f3670ae62562fa0 /deploy-command.js
parent4c25284974a1575b942e3d07bf00afa2614cd376 (diff)
downloadDLAP-c55e480e4d8dbf9d3c11cb7a13c69f9f1ab730db.tar.gz
DLAP-c55e480e4d8dbf9d3c11cb7a13c69f9f1ab730db.tar.bz2
DLAP-c55e480e4d8dbf9d3c11cb7a13c69f9f1ab730db.zip
Improved list command; Directory name change; Fixed ActivityType
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());
}