zumito-framework 1.1.2 → 1.1.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.
@@ -127,7 +127,7 @@ class ZumitoFramework {
127
127
  }
128
128
  ;
129
129
  // Create module instance
130
- let moduleInstance = new module(path.join(modulesFolder, moduleName));
130
+ let moduleInstance = new module(path.join(modulesFolder, moduleName), this);
131
131
  this.modules.set(moduleInstance.constructor.name, moduleInstance);
132
132
  // Register module commands
133
133
  this.commands = new Map([...this.commands, ...moduleInstance.getCommands()]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zumito-framework",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "Discord.js bot framework",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",