title: How do I get the ID of an user in Discord.py
body: <p>We're writing a bot for our Discord Server which is supposed to mention the person that starts a specific command. For this I'd need the ID of the user, but can't figure out how to get it.</p>
  
  <pre><code>@bot.command()
  async def name():
  
  author = discord.User.id
  
  await bot.say(str(author))
  </code></pre>
  
  <p>We tried it this way, since the documentation says, the ID of a user is in the class User. But the only thing we get is</p>
  
  <pre><code>&lt;member 'id' of 'User' objects&gt;
  </code></pre>
  
  <p>In our eyes we got the right param but can't get the ID itself? Do we need to convert it somehow?</p>