title: How to send images on discord.js node js?
body: <p>i have problem with sending images from url when i try to make bot discord, i got the messages &quot; Hello &quot; but not with the images.</p>
  <pre><code>require('dotenv').config();
  const Discord = require(&quot;discord.js&quot;);
  const client = new Discord.Client({intents: [&quot;GUILDS&quot;, &quot;GUILD_MESSAGES&quot;]});
  client.on(&quot;ready&quot;, () =&gt; {
    console.log(`Logged in as ${client.user.tag}!`)
  })
  
  
  client.on(&quot;message&quot;, msg =&gt; {
    if (msg.content === &quot;p&quot;) {
      msg.reply(&quot;Hello&quot;, {files: [&quot;https://s.imgur.com/images/logo-1200-630.jpg?2&quot;]});
    }
  })
  
  client.login(process.env.DISCORD_TOKEN);
  </code></pre>