title: Is it possible to get the image attachment when a user reply to the bot's question and make the bot embed it
body: <p>I'm making a command that when someone type <code>!1</code>, the bot will send a dm and ask to upload the image then bot will embed that image and send it to a channel.</p>
  <p>This is the code I have so far.</p>
  <pre class="lang-py prettyprint-override"><code>@commands.command(name='1')
  async def qwe(self, ctx):
      question = '[Upload image]'
      dm = await ctx.author.create_dm()
      channel = self.client.get_channel()
  
      embed = discord.Embed(
          description=question,
          colour=0xD5A6BD
      )
      await dm.send(embed=embed)
      await self.client.wait_for('message', check=ctx.author)
  
      url = ctx.message.attachments
      embed = discord.Embed(
          description='image:',
          colour=0xD5A6BD
      )
      embed.set_image(url=url.url)
      await channel.send(embed=embed)
  </code></pre>
  <p>However, I get this error when I answer the bot with an upload image:</p>
  <pre class="lang-py prettyprint-override"><code>discord.ext.commands.errors.CommandInvokeError:
  Command raised an exception: AttributeError: 'list' object has no attribute 'url'
  </code></pre>