@hyperneutrino/djs-lite 1.2.3 → 1.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.ts +2 -0
  2. package/package.json +1 -1
package/index.ts CHANGED
@@ -96,6 +96,8 @@ export async function loadCommands(client: Client<true>, directory: string, guil
96
96
 
97
97
  await Promise.all(
98
98
  files.map(async (file) => {
99
+ if (file.isDirectory()) return;
100
+
99
101
  const absolutePath = path.resolve(file.parentPath, file.name);
100
102
 
101
103
  const { default: item } = await import(absolutePath);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hyperneutrino/djs-lite",
3
3
  "private": false,
4
- "version": "1.2.3",
4
+ "version": "1.2.4",
5
5
  "module": "index.ts",
6
6
  "type": "module",
7
7
  "devDependencies": {