how to send a message using discord.js

JavaScript
message.channel.send("a")const channel = <client>.channels.cache.get('<id>');
channel.send('<content>');
Source

Also in JavaScript: