discord.js message author code example
Example 1: get message author discord.js
message.author.user
// OR FOR ID USE:
message.author.user.id
Example 2: discord js channel send
const user = <client>.users.cache.get('<id>');
user.send('<content>');
Example 3: discord js channel send
const channel = <client>.channels.cache.get('<id>');
channel.send('<content>');
Example 4: discord.js reply to message author
message.reply("hello world");