oopscord.js 0.0.10 → 0.0.12

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.
@@ -152,7 +152,7 @@ class DiscordApp {
152
152
  this.#moduleOptions = options;
153
153
  const module = this.#module;
154
154
  internalEvents.forEach(e => {
155
- this.#client.on(e.eventName, module[e.methodName]);
155
+ this.#client.on(e.eventName, (...args) => module[e.methodName](...args));
156
156
  });
157
157
  this.#client.on("interactionCreate", (itr) => this.#autoHandler(itr));
158
158
  this.#moduleOptions.imports.forEach(module => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oopscord.js",
3
- "version": "0.0.10",
3
+ "version": "0.0.12",
4
4
  "description": "An easy way to make discord apps in typescript.",
5
5
  "main": "dist",
6
6
  "scripts": {
@@ -9,7 +9,7 @@
9
9
  },
10
10
  "repository": {
11
11
  "type": "git",
12
- "url": "git+https://github.com/Team-ThinkCord/tDis.git"
12
+ "url": "git+https://github.com/Team-ThinkCord/oopscord.js.git"
13
13
  },
14
14
  "keywords": [
15
15
  "discord",