const handlers = require("../handlerLoader.js");
const { EmbedBuilder, MessageAttachment } = require("discord.js");
module.exports = {
name: "agree",
async execute(interaction) {
const captcha = handlers.captchaHandler.generateCaptcha();
const captchaEmbed = new EmbedBuilder()
.setColor(0x2B2D31)
.setAuthor({
name: "Captcha Code",
})
.setImage(captcha.filePath)
await interaction.reply({
embeds: [captchaEmbed],
ephemeral: true,
});
},
};
const handlers = require("../handlerLoader.js");
const { EmbedBuilder, MessageAttachment } = require("discord.js");
module.exports = {
name: "agree",
async execute(interaction) {
const captcha = handlers.captchaHandler.generateCaptcha();
const captchaEmbed = new EmbedBuilder()
.setColor(0x2B2D31)
.setAuthor({
name: "Captcha Code",
})
.setImage(captcha.filePath)
await interaction.reply({
embeds: [captchaEmbed],
ephemeral: true,
});
},
};