discord.py get all members with a role code example
Example 1: discord.py get guild member list
guild = client.get_guild(ID)
memberList = guild.members
Example 2: discord py get all channels in guild
guild.text_channels
guild = client.get_guild(ID)
memberList = guild.members
guild.text_channels