title: Discord.py: How do I get a user from a UserID?
body: <p>So I need my bot to get a user from a UserID. I tried it like this:</p>
  <pre><code>import discord
  from discord.ext import commands
  from discord.utils import get
  
  client = commands.Bot(command_prefix = '&amp;')
  
  @client.command(pass_context = True)
  async def test(ctx, id : int):
    user = client.get_user(id)
    print(user)
  
  TOKEN = &quot;&quot;
  client.run(TOKEN)
  </code></pre>
  <p>but it always returns None, but why? :C Thanks for helping.</p>