I got an error "client.on("message", (message) => {
How do I get a channels id. Isnt it message.channels.get("").send("message");???
})
How do I get a channels id. Isnt it message.channels.get("").send("message");???
})
why not just reply lolOne of our Discord Bot Developers can more than likely help you with this at Senior Team.
I have sent you a PM![]()
And if you want with a Name, just use this:^^ that worked well.Code:message.guild.channels.get("channelid")
message.guild.channels.find(channel => channel.name === "channelname");
Yepp, understand thanksAnd if you want with a Name, just use this:
Code:message.guild.channels.find(channel => channel.name === "channelname");