get the guild discord py 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