Discord.js Senden Sie die Nachricht an einen bestimmten Kanal
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>")