get user guild id discord.py code example
Example 1: discord py get user by id
user = bot.get_user(user_id)
Example 2: discord.py get guild member list
guild = client.get_guild(ID)
memberList = guild.members
user = bot.get_user(user_id)
guild = client.get_guild(ID)
memberList = guild.members