Discord.js Enviar mensaje a un canal específico
client.channels.cache.get("<channel>").send("<message>");
HTMLJSCSS
client.channels.cache.get("<channel>").send("<message>");
client.channels.cache.get("channel ID").send("hello world");
client.guilds.cache.get("<id>").send("<msg>"); // used for specific channel
const channel = client.channels.cache.get('Channel Id');
channel.send({ content: 'This is a message' });
ffffffffffffffff
var channel = client.channels.cache.get("<channel id>")
channel.send("message")
894215141959290910
client.channels.get("<ID of the channel you want to send to>").send("<your message content here>")