From 8274f8e0da6a7f578ccdda9688715bb393f5a79b Mon Sep 17 00:00:00 2001 From: SowinskiBraeden Date: Sun, 17 Nov 2024 08:43:03 -0800 Subject: [PATCH] fix/remove debug command --- .gitignore | 4 +--- commands/debug.js | 30 ------------------------------ 2 files changed, 1 insertion(+), 33 deletions(-) delete mode 100644 commands/debug.js diff --git a/.gitignore b/.gitignore index 1be8645..3c2446e 100644 --- a/.gitignore +++ b/.gitignore @@ -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/* diff --git a/commands/debug.js b/commands/debug.js deleted file mode 100644 index 9d7c8a5..0000000 --- a/commands/debug.js +++ /dev/null @@ -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: {} -} \ No newline at end of file