Skip to content

Commit

Permalink
fixed loader.load to properly sets keys
Browse files Browse the repository at this point in the history
  • Loading branch information
USERSATOSHI committed May 24, 2024
1 parent c8c23fe commit 4f3f962
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/classes/LoadCommands.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class LoadCommands {
path,
debug,
commandsLocation: client,
keys: Object.keys(client)
keys: client instanceof CommandManager ? client.types : Object.keys(client)
});
}

Expand Down

0 comments on commit 4f3f962

Please sign in to comment.