Wyślij wiadomość do określonego kanału niezniszczonego.js
client.channels.get("<ID of the channel you want to send to>").send("<your message content here>")
CrossbowJeffery
client.channels.get("<ID of the channel you want to send to>").send("<your message content here>")
client.channels.cache.get("<channel>").send("<message>");
client.channels.cache.get('CHANNEL ID').send('Hello World!')
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.find(channel => channel.name === channelName)
channel.send(message)