fix/remove debug command

This commit is contained in:
SowinskiBraeden committed 2024-11-17 08:43:03 -08:00
1 parent 9e1f3ca371
commit 8274f8e0da
2 files changed
+1 -33

No files matched your search

+1 -3
View File
@@ -4,12 +4,10 @@ node_modules/*
# Testing/dev related
*_test.js
dev-*.js
commands/debug.js
# Logs
logs/*
# env
.env
# Admin Script backups
admin/backup/*
-30
View File
@@ -1,30 +0,0 @@
const { EmbedBuilder, ActionRowBuilder, ButtonBuilder, ButtonStyle } = require('discord.js');
const CommandOptions = require('../util/CommandOptionTypes').CommandOptionTypes;
module.exports = {
name: "debug",
debug: true,
global: false,
description: "debugging...",
usage: "",
permissions: {
channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"],
member: [],
},
options: [],
SlashCommand: {
/**
*
* @param {require("../structures/QuarksBot")} client
* @param {import("discord.js").Message} message
* @param {string[]} args
* @param {*} param3
*/
run: async (client, interaction, args, { GuildDB }) => {
if (!client.config.Admins.includes(interaction.member.user.id)) return interaction.send({ content: 'Only developers can access this command.', flags: (1 << 6) })
return interaction.send({ content: `Hello ${interaction.member.user.id}, you are my creator!!` })
},
},
Interactions: {}
}