get id from name python discord code example
Example 1: discord py get user by id
user = bot.get_user(user_id)
Example 2: Discord python get member object by id
user = await bot.fetch_user(payload.user_id)
user = bot.get_user(user_id)
user = await bot.fetch_user(payload.user_id)