discord.js send message to channel

JavaScript
let channel = message.guild.channels.cache.get(c => c.name === 'the channel name')

channel.send("Your message")message.channel.send("test")
Source

Also in JavaScript: