Could someone help me add such a thing so that when someone executes this command, it will send to another Discord server on a specific channel, Embed which is already in the code log_embed
it's almost at the end of the code
Node: 14.16.0
Discord.js: 12.5.3
const { MessageEmbed } = require("discord.js");
const { LOCALE } = require("../util/EvobotUtil");
const i18n = require("i18n");
i18n.setLocale(LOCALE);
module.exports = {
name: "help",
aliases: ["h"],
description: i18n.__("help.description"),
execute(message) {
let commands = message.client.commands.array();
let helpEmbed = new MessageEmbed()
.setTitle(i18n.__mf("help.embedTitle", { botname: message.client.user.username }))
.setDescription(i18n.__("help.embedDescription"))
.setColor("#F8AA2A");
commands.forEach((cmd) => {
helpEmbed.addField(
`**${message.client.prefix}${cmd.name} ${cmd.aliases ? `(${cmd.aliases})` : ""}**`,
`${cmd.description}`,
true
);
});
helpEmbed.setTimestamp();
return message.channel.send(helpEmbed).catch(console.error);
const log_embed = new Discord.MessageEmbed()
.setTitle(`LOG`)
.setColor('36393F')
.setDescription(`1`)
.setTimestamp()
.setFooter('####')
}
};