get member by id discord py on guild code example
Example 1: discord.py get guild member list
guild = client.get_guild(ID)
memberList = guild.members
Example 2: get guild from a channel discord py
channel.guild
guild = client.get_guild(ID)
memberList = guild.members
channel.guild