@notenoughupdates/discord-akairo
Advanced tools
Comparing version 10.0.0-dev.1660139201.d8cfb12 to 10.0.0-dev.1660140200.adb9b30
{ | ||
"name": "@notenoughupdates/discord-akairo", | ||
"version": "10.0.0-dev.1660139201.d8cfb12", | ||
"version": "10.0.0-dev.1660140200.adb9b30", | ||
"description": "A highly customizable bot framework for Discord.js.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/src/index.js", |
@@ -5,6 +5,4 @@ "use strict"; | ||
const discord_js_1 = require("discord.js"); | ||
const zod_1 = require("zod"); | ||
class Category extends discord_js_1.Collection { | ||
constructor(id, iterable) { | ||
zod_1.z.string().parse(id); | ||
super(iterable); | ||
@@ -11,0 +9,0 @@ this.id = id; |
{ | ||
"name": "@notenoughupdates/discord-akairo", | ||
"version": "10.0.0-dev.1660139201.d8cfb12", | ||
"version": "10.0.0-dev.1660140200.adb9b30", | ||
"description": "A highly customizable bot framework for Discord.js.", | ||
@@ -5,0 +5,0 @@ "main": "./dist/src/index.js", |
import { Collection } from "discord.js"; | ||
import { z } from "zod"; | ||
import type { AkairoModule } from "../struct/AkairoModule.js"; | ||
@@ -19,4 +18,2 @@ | ||
public constructor(id: string, iterable?: Iterable<readonly [K, V]>) { | ||
z.string().parse(id); | ||
super(iterable); | ||
@@ -23,0 +20,0 @@ this.id = id; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1082863
17219