title: Discord.js How to check if the user does not accept Direct Messages
body: <p>I was wondering if it is possible for a Discord bot to be able to check if a specific user the bot is trying to DM accepts direct messages. Right now this is my code:</p>
  
  <pre><code>exports.run = (client, message) =&gt; {
      try {
          message.author.send(`:ok_hand:`);
      } catch (err) {
          message.reply('Cannot send Direct Messages to your user!');
      }
  }
  </code></pre>
  
  <p>But I want the code to be able to tell if the user is accepting direct messages before trying to send the user a message. Is this doable?</p>