Files
quarksBot/commands/work.js
T
2022-07-25 21:58:13 -07:00

30 lines
847 B
JavaScript

const { MessageEmbed } = require('discord.js');
module.exports = {
name: "work",
debug: false,
description: "work to earn your income",
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.`);
}
console.log(interaction.member)
return interaction.send('Debugging...')
},
},
}