fix/help stats
This commit is contained in:
2 files changed
+3
-2
No files matched your search
+2
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user