djs-builder
Advanced tools
Comparing version 0.4.81 to 0.4.82
@@ -12,2 +12,17 @@ import { Collection } from 'discord.js'; | ||
export async function readCommands(client: any, prefix: { path: string }): Promise<void> { | ||
console.log('Before clearing:'); | ||
console.log('Commands:', commands.size); | ||
console.log('Aliases:', aliases.size); | ||
console.log('Command names:', commandNames.size); | ||
commands.clear(); | ||
aliases.clear(); | ||
commandNames.clear(); | ||
console.log('After clearing:'); | ||
console.log('Commands:', commands.size); | ||
console.log('Aliases:', aliases.size); | ||
console.log('Command names:', commandNames.size); | ||
const commandDetails: Array<{ name: string; usage: string | undefined; description: string | undefined; aliases: string[] | undefined; cooldown: number | undefined; developer: boolean | undefined; owner: boolean | undefined }> = []; | ||
@@ -14,0 +29,0 @@ |
{ | ||
"name": "djs-builder", | ||
"version": "0.4.81", | ||
"version": "0.4.82", | ||
"description": "Discord.js bot builder. Supports Ts and Js.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
288177
3392