From 2fd3414e636039678a64922c7a38674944540712 Mon Sep 17 00:00:00 2001 From: Kieran Date: Fri, 9 Sep 2022 22:27:32 +0100 Subject: [PATCH] Fix path --- src/handler/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/handler/index.js b/src/handler/index.js index e2e0458..c211738 100644 --- a/src/handler/index.js +++ b/src/handler/index.js @@ -26,7 +26,7 @@ module.exports = async (client) => { eventFiles.map((value) => require(value)); // Slash Commands - const slashCommands = await globPromise(`${process.cwd()}/src//SlashCommands/*/*.js`); + const slashCommands = await globPromise(`${process.cwd()}/src/slashCommands/*/*.js`); const arrayOfSlashCommands = []; slashCommands.map((value) => {