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
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "dayzr-bot",
|
||||
"version": "13.1.2",
|
||||
"version": "13.1.3",
|
||||
"description": "A General Purpose Discord Bot for DayZ Nitrado Servers.",
|
||||
"main": "index.js",
|
||||
"nodemonConfig": {
|
||||
|
||||
Reference in new issue
Block a user