debug remove-money command

This commit is contained in:
SowinskiBraeden committed 2022-07-30 19:27:34 -07:00
1 parent 5d08247ece
commit 0776cb6974
1 file changed
+29
+29
View File
@@ -0,0 +1,29 @@
const { MessageEmbed } = require('discord.js');
module.exports = {
name: "remove-money",
debug: false,
description: "remove money from a users balance or cash.",
usage: "",
permissions: {
channel: ["VIEW_CHANNEL", "SEND_MESSAGES", "EMBED_LINKS"],
member: [],
},
SlashCommand: {
options: [],
/**
*
* @param {require("../structures/QuarksBot")} client
* @param {import("discord.js").MessageCreate} message
* @param {string[]} args
* @param {*} param3
*/
run: async (client, interaction, args, { GuildDB }) => {
if (GuildDB.customChannelStatus==true&&!GuildDB.allowedChannels.includes(interaction.channel_id)) {
return interaction.send(`You are not allowed to use the bot in this channel.`);
}
return interaction.send('debugging...')
},
},
}