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 { 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
@@ -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": {
|
||||||
|
|||||||
Reference in new issue
Block a user