@glowbot/cogs
Advanced tools
Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "@glowbot/cogs", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "A little cog system(Assumed to be used for discord.js command&event managers)", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.js", |
@@ -100,3 +100,3 @@ const {default:Collection} = require("@discordjs/collection") | ||
const path = this.get(name)?.path || this.#resolve(name).full | ||
const module = this.find(a=>a.path===path) | ||
var module = this.find(a=>a.path===path) | ||
if(this.#unloader)module = this.#unloader(module) | ||
@@ -103,0 +103,0 @@ this.delete(module.name) |
16793