@elara-services/tickets 4.0.1 → 4.0.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.
package/index.d.ts CHANGED
@@ -144,6 +144,7 @@ declare module "@elara-services/tickets" {
144
144
  }): Promise<unknown>;
145
145
 
146
146
  public run(int: Interaction): Promise<unknown>;
147
+ public runMany(interaction: Interaction, tickets: Tickets[]): this;
147
148
  public starterMessage(channelId: string, options?: Pick<MessageOptions, "embeds" | "content" | "components" | "attachments">): Promise<unknown>;
148
149
  };
149
150
 
package/lib/base.js CHANGED
@@ -38,12 +38,10 @@ module.exports = class Tickets {
38
38
  }
39
39
 
40
40
  /**
41
- *
42
41
  * @param {import("discord.js").Interaction} interation
43
42
  * @param {Tickets[]} tickets
44
- * @returns
45
43
  */
46
- runMultiple(interation, tickets = []) {
44
+ runMany(interation, tickets = []) {
47
45
  if (!interation || !is.array(tickets)) {
48
46
  return this;
49
47
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elara-services/tickets",
3
- "version": "4.0.1",
3
+ "version": "4.0.3",
4
4
  "description": "Helper for tickets",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -17,9 +17,9 @@
17
17
  "pc": "prettier --check **/**/*.js"
18
18
  },
19
19
  "dependencies": {
20
- "@elara-services/packages": "^6.0.6",
21
- "@elara-services/utils": "^1.2.30",
22
- "@elara-services/webhooks": "^2.1.8"
20
+ "@elara-services/packages": "^6.0.7",
21
+ "@elara-services/utils": "^1.2.32",
22
+ "@elara-services/webhooks": "^2.1.9"
23
23
  },
24
24
  "devDependencies": {
25
25
  "eslint": "8.20.0",