discord.js write in a channel code example
Example 1: send a message using discord.js
message.channel.send("test")
Example 2: discord js channel send
const user = <client>.users.cache.get('<id>');
user.send('<content>');
message.channel.send("test")
const user = <client>.users.cache.get('<id>');
user.send('<content>');