title: How to DM the person who is executing the command
body: <p>I am trying to make a command that DM's a person with text and some arguments from it while sending a message with those same arguments to a channel.</p>
  <p>Right now I am trying to figure out the DM part. All the threads that may have helped me were from 2 years from the old discord.py.</p>
  <p>Here is my attempt at DMing the person who runs the command:</p>
  <pre><code>@bot.command
  async def report(ctx):
      user = await ctx.message.author.id
      await DMChannel.send(user, &quot;lol&quot;)
      await ctx.channel.purge(limit=1)
  </code></pre>
  <p>I essentially just two string arguments, <code>!report &lt;name&gt; &lt;reason&gt;</code>. I will use them in the DM and message to a channel. But right now, all I need is to find a way to DM a person something.</p>
  <p>I got the DMchannel idea from this video, but it shows you how to send it to a specified person, not the context (I think). <a href="https://www.youtube.com/watch?v=uyctSEjJ8r0" rel="nofollow noreferrer">https://www.youtube.com/watch?v=uyctSEjJ8r0</a></p>