title: Discord.js message attachments picture
body: <pre><code>message.channel.sendMessage(text).attachments
  ["",{url:"http://openweathermap.org/img/w/"+icon+".png" }];
  </code></pre>
  
  <p>I made some bot, with <code>node-js ( discord.js )</code>.</p>
  
  <p>I want to send message with picture(without URL) so, I found fuction attachments, in documentation.
  But, when I put in message (text) and attachments some picture, in the console,I get:</p>
  
  <blockquote>
    <p>"Cannot read property '# &lt; Object >' of undefined"</p>
  </blockquote>
  
  <p>What should I do fix this problem?</p>