know if user can send messages in channel discord js site:stackoverflow.com code example
Example: send a message discordjs
message.channel.send("A message!");
message.reply("A message to the sender!");
message.channel.send("A message!");
message.reply("A message to the sender!");