know if user can send messages in channel discord js code example
Example 1: how to send a message discord.js
message.reply("message here");
message.channel.send("message here");
Example 2: send a message using discord.js
message.channel.send("test")