discord js send message to channel creation code example
Example 1: discord js channel send
const user = <client>.users.cache.get('<id>');
user.send('<content>');
Example 2: send a message discordjs
message.channel.send("A message!");
message.reply("A message to the sender!");