From 4f3f9621e868cbef0048e2de9025332fc12a5f49 Mon Sep 17 00:00:00 2001 From: USERSATOSHI Date: Fri, 24 May 2024 10:44:23 +0530 Subject: [PATCH] fixed loader.load to properly sets keys --- src/classes/LoadCommands.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/classes/LoadCommands.js b/src/classes/LoadCommands.js index 4749114e0..6a34e2b14 100644 --- a/src/classes/LoadCommands.js +++ b/src/classes/LoadCommands.js @@ -143,7 +143,7 @@ class LoadCommands { path, debug, commandsLocation: client, - keys: Object.keys(client) + keys: client instanceof CommandManager ? client.types : Object.keys(client) }); }