fix/help stats

This commit is contained in:
SowinskiBraeden committed 2024-04-25 09:21:20 -07:00
1 parent f46c5d0ef6
commit a88eb72f64
2 files changed
+3 -2

No files matched your search

+2 -1
View File
@@ -1,5 +1,6 @@
const { EmbedBuilder } = require("discord.js");
const CommandOptions = require('../util/CommandOptionTypes').CommandOptionTypes;
const package = require("../package");
module.exports = {
name: "help",
@@ -53,7 +54,7 @@ module.exports = {
* @param {*} param3
*/
run: async (client, interaction, args, start) => {
run: async (client, interaction, args, {GuildDB}, start) => {
if (args[0].name == 'commands') {
let Commands = client.commands.filter((cmd) => {
return !cmd.debug