@hyperneutrino/djs-lite 1.2.2 → 1.2.3

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 +1 -1
  2. package/package.json +1 -1
package/index.ts CHANGED
@@ -151,7 +151,7 @@ export async function loadInteractions(client: Client, directory: string, argume
151
151
 
152
152
  const absolutePath = path.resolve(file.parentPath, file.name);
153
153
  const relativePath = path.relative(path.resolve(directory), absolutePath);
154
- const handlerKey = relativePath.replace(/\.[^/.]+$/, "");
154
+ const handlerKey = relativePath.replace(/\.[^/.]+$/, "").replace(/\\/g, "/");
155
155
 
156
156
  const { default: item } = await import(absolutePath).catch(() => null);
157
157
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hyperneutrino/djs-lite",
3
3
  "private": false,
4
- "version": "1.2.2",
4
+ "version": "1.2.3",
5
5
  "module": "index.ts",
6
6
  "type": "module",
7
7
  "devDependencies": {