discord.py get the user id from a username code example Example: discord py get user by id user = bot.get_user(user_id)