title: Discord.js Can't send message to this user
body: <p>If I have this error it will send a message embed and which shows a picture about how to turn on direct messages.</p>
  
  <p>but I don't know how to snipped code and send this message</p>
  
  <pre class="lang-js prettyprint-override"><code>if (error.code === 50007){
    message.channel.send(Embedcantchat);
  }
  </code></pre>
  
  <p>Error source</p>
  
  <pre class="lang-js prettyprint-override"><code>reason: DiscordAPIError: Cannot send messages to this user
      at C:\Users\nawap\OneDrive\Desktop\Discord\bot all\nirtogiven\node_modules\discord.js\src\client\rest\RequestHandlers\Sequential.js:79:15
      at C:\Users\nawap\OneDrive\Desktop\Discord\bot all\nirtogiven\node_modules\snekfetch\src\index.js:215:21
      at processTicksAndRejections (internal/process/task_queues.js:97:5) {
    name: 'DiscordAPIError',
    message: 'Cannot send messages to this user',
    path: '/api/v7/channels/720870400808190013/messages',
    code: 50007,
    method: 'POST'
  }
  </code></pre>