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 { EmbedBuilder } = require("discord.js");
const CommandOptions = require('../util/CommandOptionTypes').CommandOptionTypes; const CommandOptions = require('../util/CommandOptionTypes').CommandOptionTypes;
const package = require("../package");
module.exports = { module.exports = {
name: "help", name: "help",
@@ -53,7 +54,7 @@ module.exports = {
* @param {*} param3 * @param {*} param3
*/ */
run: async (client, interaction, args, start) => { run: async (client, interaction, args, {GuildDB}, start) => {
if (args[0].name == 'commands') { if (args[0].name == 'commands') {
let Commands = client.commands.filter((cmd) => { let Commands = client.commands.filter((cmd) => {
return !cmd.debug return !cmd.debug
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "dayzr-bot", "name": "dayzr-bot",
"version": "13.1.2", "version": "13.1.3",
"description": "A General Purpose Discord Bot for DayZ Nitrado Servers.", "description": "A General Purpose Discord Bot for DayZ Nitrado Servers.",
"main": "index.js", "main": "index.js",
"nodemonConfig": { "nodemonConfig": {