From fbe235655e46f0f35364f8b93b599ebe6fbc5fcb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonas=20Schi=C3=B8tt?= <51338474+JonasSchiott@users.noreply.github.com> Date: Fri, 31 Jul 2020 21:01:55 +0200 Subject: [PATCH] Linux fix handler - now tested Alex (Vixel) tested it on various OS', and above is the fix. --- src/Structures/Util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Structures/Util.js b/src/Structures/Util.js index 0cca393..665fe8d 100644 --- a/src/Structures/Util.js +++ b/src/Structures/Util.js @@ -45,7 +45,7 @@ module.exports = class Util { } async loadCommands() { - return glob(`${this.directory}commands/**/*.js`).then(commands => { + return glob(`${this.directory}Commands/**/*.js`).then(commands => { for (const commandFile of commands) { delete require.cache[commandFile]; const { name } = path.parse(commandFile);