fix/remove debug command
This commit is contained in:
2 files changed
+1
-33
No files matched your search
+1
-3
@@ -4,12 +4,10 @@ node_modules/*
|
|||||||
# Testing/dev related
|
# Testing/dev related
|
||||||
*_test.js
|
*_test.js
|
||||||
dev-*.js
|
dev-*.js
|
||||||
|
commands/debug.js
|
||||||
|
|
||||||
# Logs
|
# Logs
|
||||||
logs/*
|
logs/*
|
||||||
|
|
||||||
# env
|
# env
|
||||||
.env
|
.env
|
||||||
|
|
||||||
# Admin Script backups
|
|
||||||
admin/backup/*
|
|
||||||
@@ -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: {}
|
|
||||||
}
|
|
||||||
Reference in new issue
Block a user